AfterShock's Forum Posts

  • I have a game where to create a sense of 3D the objects closer to the bottom of the screen are in front of objects higher on the screen. I need the same thing to happen even when I spawn new objects but I can't get it to work.

    <img src="http://img801.imageshack.us/img801/313/zproblem.png">

    Download

    Non-direct download

  • In a game where you have many different sprites in orders it becomes frustrating to have to right click, click on order, and then click on "to front". There is a shortcut for "bring forward" but then you have to hold cntrl+up for about three seconds which become tedious when you have lots of sprites to deal with. I would suggest a shortcut like cntrl+alt+up for "to front" and cntrl+alt+down for "to back".

    PS: Ctrnl+y for redo would also be a useful shortcut.

  • GAEM BROKEN

  • Looks really cool, I like the variety of landscapes.

  • I would prefer my games to be able to run in a browser, preferably using the new Canvas object in HTML 5.

  • Thanks for the help, I can't even drag and drop code properly.

  • > I am currently creating a puzzle game where you can move left through some blocks but not right. Currently I have a system where if you press the right key the block becomes solid and when you press the left key the block becomes un-solid. The problem is that if you are overlapping the block and press the right key you teleport.

    > http://dl.dropbox.com/u/2867484/OneWay.cap

    >

    this woorks for me:

    + DirectionBlock: Value 'Direction' Equal to 0

    ????+ MouseKeyboard: Key Right arrow is down

    ????+ playerCol: overlaps DirectionBlock : offset (10,0)

    ????????-> DirectionBlock: Set collision mode to None

    ????+ MouseKeyboard: On key Left arrow pressed

    ????????-> playerCol: Deactivate Platform movement

    ????+ MouseKeyboard: [negated] Key Left arrow is down

    ????+ System: Trigger once

    ????????-> playerCol: Activate Platform movement

    But then you can't jump on the blocks like you need to be able to.

  • I am currently creating a puzzle game where you can move left through some blocks but not right. Currently I have a system where if you press the right key the block becomes solid and when you press the left key the block becomes un-solid. The problem is that if you are overlapping the block and press the right key you teleport.

    http://dl.dropbox.com/u/2867484/OneWay.cap

  • This would be awesome and make coding a lot easier, I honestly don't even understand cosine and sine. It would be wonderful if this was implemented. *nudge*

  • The main problem I see is that the aliens can spawn right where you're standing.

  • Nevermind, I figured it out.

    Anything I want colliding has to be on a grid the same size as the player's pixel movement per tick.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It seems to work here, or is the problem that the player stops short of the obstacle?

    That's exactly the problem, he usually stops 3 or 4 pixels from the object

  • I've tried to make my own simple 8-direction movement but I cant get collisions working.

    http://www.mediafire.com/?52emlylng5y

  • That's Direct2D (based on DX10/DX11) - Construct draws with Direct3D 9, which is even more code...

    How hard would it be to move to Direct X 11?

  • > Does this list anyone that's hosting? I don't know if anyone's hosting

    >

    Right now the server is in a rough state where you have to restart it each time you want a new game. Eventually, I'll set it where it automatically resets once the game ends and also add the option where a client can remotely set the number of players. I'll also add AI players to fill the gaps at some point.

    I've uploaded a new version of client and server where you can now specify IP address if you want to use Hamachi (it needs to listen on the Hamachi IP not your default IP address).

    http://www.box.net/shared/ypq6pdj0mf

    Edit: Decided it was too soon to host a server if it doesn't support restarts and client updates. I'll do this at some point, but I'm going to just start on the tut for know and stop adding features.

    In your tutorial will you explain how to show a list of all the servers? Instead of having to manually join already knowing the ip and port