Wicstar's Recent Forum Activity

  • I've always wanted to make a generator like this. So much fun.

    Anyway, to attempt this, you need to have a really solid knowledge of what an array is. This tutorial is excellent:

    http://www.scirra.com/tutorials/307/arrays-for-beginners

    Thanks, it is the tutorial I use to create the code in the above message. Unfortunately, there is a small problem with the 0,0 of my array.

    I am unable to make it random. It's like if the line 4 in my code is overiding line 3.

    Any help ?

    Maybe if you could take a look at the code.

    Cheers

    -Michael

  • Are the 2 codes conflicting ?

  • Alright, I manage to get something together.

    Now my problem is in my code haha.

    Here is the .capx : https://dl.dropbox.com/u/89646560/Walker.capx

    It seems like my first tile is always selecting the 2nd frame of the sprite. It's like it is skipping para 3 in the code, and go directly to 4.

    I want to solve this issue before creating the rest of the code.

    Anyone have an idea to get me out of this ? lol

    Thanks a bunch in advance !

    -Michael

  • Awesome thanks a bunch it works !!!

  • Why can't I find the place to change the version from R98 to R95.... I tried opening my .capx file with a text editor... a lot of symbols but no r98 :(

  • Try Construct 3

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

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

    My name is Michael and I learned about Construct 2 through a friend.

    Right now I am trying to reproduce a GTA 2-style game. With a randomly generated map..... running into a lot of problems haha.

    Cheers !

  • Aridale,

    I understand what you mean. My problem is I have a hard time putting my ideas in code because I am lacking the knowledge.

    I think I was looking for a bit of code to get me started or give me a place to begin building from.

    Thanks for the fast response.

  • Good day everyone,

    I have read some tutorials on the website and some forum post. Unfortunately, I am teaching myself on most of the stuff.

    I have an idea, but can't seem to find to proper to do it. I am still trying to wrap my head around the Array...

    I want to do a game that on start it would generate a first random sprite (grass tile or on of the many street tiles).

    Each of those would have a condition of what can be next to it.

    ie: To create one street section I have 2 tiles of 128px each. So each side of the street is a tile.

    I want to tell the array that is it has the right side (frame #) in XY it needs the left side next to it (frame #).

    What I want to know:

    1- How do I tell the array to choose a random sprite frame in XY

    2- How to had conditions to that, so the map actually looks like a city.

    3- I just need to be hint on what direction to take to make this happen.

    Here is an example of the game. I placed the sprites manually (use WASD to move, hold Shift to sprint):

    https://dl.dropbox.com/u/89646560/Walker/index.html

    Here are the sprites I want to use (the street is 12 wide):

    http://imgur.com/a/wMfyo

    Hopefully you guys can point me in the right direction. All help is greatly appreciated.

    Cheers !

    -Mike

  • Awesome thank you Ashley. Pixel rounding fixed it!

  • Good day all,

    I just bought my license and creating my first game.

    I was playing with sprites to create my roads and for some reason when I move they seem to not be aligned anymore.

    see image

    http://imgur.com/wCYpt

    You can clearly see in the white stripe in the street the small green line from the background. When I move my character back towards the edges of the screen it seems to correct itself.

    Any fix ?

    Thank you,

    -Mike

Wicstar's avatar

Wicstar

Member since 6 Jul, 2012

None one is following Wicstar yet!

Connect with Wicstar

Trophy Case

  • 12-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies