zi0808's Forum Posts

  • Sorry bro. You got the wrong forum.

    http://www.scirra.com/FORUM/how-do-i_forum45.html

    This is the Construct 2 "How do i.." Forum.

    You should post any C2 questions there.

  • Alright. It seems.I have no choice then.

    Last question ; How should I use that zipfile python lib

    You linked on your first reply?

  • using *.zip files are too risky and also packing and unpacking

    would be a big bother. Could you tell me another good way?

    The best way i thought is to store all the stuff into a hash table,

    but... I don't think it can store bitmap files as well.

    (I succeed on saving some data files with hash table's save to file function,

    So I thought It might also work with resource files.)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi everyone

    I want to encrypt and store bunch of resources in one file

    And read them again in game.

    So i searched the forum and found out that crc32 and md5

    will do the work.

    I also checked out samples, but i can't figure out how this

    works so i can't do the thing.

    I'd be grateful if you guys help me

    ( it would be very appreciating if you make a .cap file

    For me. :-) )

    [Edit : Any method of storing is okay. I just want to know as many way as I can, So I can think and decide the best solution. And also maybe I could collaborate multiple stuff to work.]

    EX )

    A.png, B.png, C.jpg . . . . . -> Graphics.pak

    A.ogg, B.wav, C.ogg . . . . . -> Sfx.pak

    A.mp3, B.wma, C.mod . . . . . -> Bgm.pak

    Ps ) I also want to get this packed files can

    Be modified (add / delete / change assets#

  • Alrighty then, I still wonder one thing - what is that pseudocode?

  • So in construct, Copy and paste makes a reference of original

    object, so they all treated as same object, but they should have

    their own unique ID's or something. (Like 'For Each Object')

    So what i want is that making bunch of edit box of same object

    and get values from each of them. Is there any good way to do this?

    or should i just make a clone and give different name to each object?

    Pleas give me your opinion.

  • :O

    Never knew that was the way. Thank you for your help!

  • Okay. I want to change the starting layout of an application,

    and I think i saw "First Layout" thingy before.

    <img src="http://i339.photobucket.com/albums/n460/zi0808/asdf.png" border="0" />

    But there. I can't find the sh*t.

    I dunno what to do. Is there any other way to change,

    or is it that I got the wrong directions?

    Please help.

    P.S : Please be explicit as you can. That makes the problem solve faster.

  • Both of your replies helped me a lot. Thank you guys.

  • Okay, the posts were written in mobile so there wasn't enough explanation.

    I'll explain the problem more thoroughly.

    <img src="http://i339.photobucket.com/albums/n460/zi0808/HUD_HP.png" border="0" />

    <img src="http://i339.photobucket.com/albums/n460/zi0808/HUD_MP.png" border="0" />

    Theses are the gauge images I want to crop. (HP and MP)

    I did HP gauge with Tiled Sprite, But the problem is the MP gauge.

    I have to crop the gauge from LEFT TO RIGHT.

    but the tiled sprite object seems only to be cropped from right to left.

    I tried cropping with image manipulator, but It won't work properly.

    <img src="http://i339.photobucket.com/albums/n460/zi0808/sc.png" border="0" />

    This is the result.

  • Okay. I just find out that tiled sprite is a solution. Thanks.

    But how should i do it with Canvas?

  • Well... I think i need more explicit instructions.

  • Hi there i'm here to ask two stuff.

    1. I want to make HP and MP gauge, by cropping the graphic

    With Image Manipulator. But I can't find the way how should i do it.

    I tried several methods but they all don't work.

    The HP gauge sprite has hotspot on (0,16),

    And MP gauge sprite has hotspot on (220,16).

    Both of them uses image of 220x32.

    So this means I want to crop HP gauge from right to left as

    HP decreases, and opposite for MP.

    2. 8direction movement is smooth, but ot seems it is very bad

    When it comes to give moving route/path. Is there any more efficient way

    To do this?

  • Thanks, I don't know there's such a method.

    I'll try it right away.

  • Well, Already tried Resource object. But does not work.

    And about google - I use korean font so it's no good.

    One thing suspicious is that the thing works fine

    in Arial, thickness 1.

    (same problem occurs when thickness is more or same than 2)

    Anyway I'm still looking for ways to solve it.

    I'm not going to post CAP file yet for some reason,

    but I'll try to post CAP if necessary.