Jump to content


trexx

Member Since 05 Apr 2011
Offline Last Active Mar 03 2012 09:30 PM

Topics I've Started

more than one instance in the same room

03 March 2012 - 06:12 PM

i have a tank game where the tanks are two different objects. the body of the tank and the turret. i have the turret rotate toward the mouse and then i have this code in the end step event to keep the two objects together
o_topplayer.x=o_bottomplayer.x
o_topplayer.y=o_bottomplayer.y
i have the same code for the enemy tanks as well. but if i have two of the same enemy tanks then when i put in this code for them, both of the enemy tanks' turrets are on one tank. do i have to make a separate tank for every enemy i want to put into the room?

Player cant touch certain colors?

02 March 2012 - 02:46 AM

i dont know if this is even possible but for making maps, it would make it a whole lot easier. say i have a background that is all green (as if it were grass) and in the middle i had a blue circle, (for a lake) would it be possible to make it so my character cant move onto the circle? so i can just tell my character which colors he can and cannot move on?  so as soon as he comes in contact with that color it acts as a wall and my character cant move any further in that direction. sorry if this is a stupid question, it would be really easy to make rooms it if were possible.

Image angle direction

01 March 2012 - 05:14 AM

So I'm making a top down tank game and I have the barrel face the mouse but I want the tank to be driven by WASD. My question is I need the image angle of the body of my tank to be facing in the direction I'm driving. So I have the image angle=direction in the create event and then when I press any directional key I set direction to =0,90,270 and 360. It works great. Except two things. When I'm pressing two directional keys at once to go diagonal it doesn't work. Also when I press a key the image angle jumps right to that direction and I want it to smoothly rotate the Image angle from one direction to another. So what I'm wondering is if there is a code that will tell me the exact angle my tank is traveling (even diagonally) and have it smoothly rotate to that angle? Thanks in advance.

highscore table

03 June 2011 - 01:31 AM

like in most games, when you die i have it so it brings you to the highscore table thingy. but instead of showing your score and ranking you accordingly, is there a way to rank you by how many kills you had? so i want the highscore thing to show kills and what wave number you made it to. is this possible?

top down furniture sprites

26 May 2011 - 03:52 AM

hey guys im making a top down zombie game and my houses are pretty bare and i wanted to add some detail to them.does anyone know of any good sites with top down furniture sprites or other top down details that i can add to my houses? if not, you could always just draw them for me if you REALLY wanted. ;) thanks guys