Staredit Network

Staredit Network -> UMS Assistance -> [SOLVED] totally original game
Report, edit, etc...Posted by AFL-InuYasha on 2005-10-31 at 17:05:09
anyone played marble madness, u use arrow keys and u must complete courses, well im makin it for SC, ive got terrain done, now for fun part, mobile grid for calculating when it bounces off walls, and use of arrow keys for each player, help...
Report, edit, etc...Posted by Fwop_ on 2005-10-31 at 18:14:11
you can use EUD conditions to check which arrow is being pressed, though it only works on single player
Report, edit, etc...Posted by Syphon on 2005-10-31 at 19:10:46
Or instead of using the arrow keys, you could detect the location of the screen, so your marbles or whatever follow the screen around.
Report, edit, etc...Posted by NerdyTerdy on 2005-10-31 at 19:16:56
You can detect where the screen is too? EUD's are amazing... I don't want to use them in my map though, because for one thing they seem Über complicated, and for another they will probably be removed in some patch to come..
Report, edit, etc...Posted by DT_Battlekruser on 2005-10-31 at 19:49:14
QUOTE(Syphon @ Oct 31 2005, 04:10 PM)
Or instead of using the arrow keys, you could detect the location of the screen, so your marbles or whatever follow the screen around.
[right][snapback]345337[/snapback][/right]


Arrow keys work better for gameplay. You would need to have something that kept track of the current screen position, then could detect if it moved because you pressed an arrow key. There are Uber@tion EUD Conditions for screen position.
Report, edit, etc...Posted by Syphon on 2005-10-31 at 19:50:57
That's pretty much the same thing I said, but I ommited the part about that can still use arrows.
Report, edit, etc...Posted by DT_Battlekruser on 2005-10-31 at 19:53:00
No, no, the gameplay works much better using an arrow key detection system where if an arrow key is pressed the ball keeps going in that direction, like pacman. Screen-following ball is rather easy.
Report, edit, etc...Posted by AFL-InuYasha on 2005-11-02 at 21:18:26
well im makin this single player probably, unless i can get the screen position working, im not really sure where to start disgust.gif
Report, edit, etc...Posted by LegacyWeapon on 2005-11-02 at 21:26:18
Here's a topic about how m.r.bob made arrow keys work as input:
http://www.staredit.net/index.php?showtopic=20566
Report, edit, etc...Posted by Kumano on 2005-11-03 at 19:59:50
QUOTE
You can detect where the screen is too? EUD's are amazing... I don't want to use them in my map though, because for one thing they seem Über complicated, and for another they will probably be removed in some patch to come..


It actually doesn't detect arrow keys, but it detects when the screen is moved to the right/left/up/down from where it is centered(which arrow keys do). and I doubt the conditions will get patched because if they were planning on patching it it would probably would have been done in 1.13b with the actions.

When doing this keep in mind it detects the top-left part of your screen, not the center of it I think.
Report, edit, etc...Posted by www.com.au on 2005-11-03 at 22:17:28
O really? Do why know why it doesnt detect the center?

That really weird.. blink.gif
Report, edit, etc...Posted by Kumano on 2005-11-05 at 09:52:00
I don't really know, but it happened when I was testing something with screen positions.
Report, edit, etc...Posted by Oo.Turin.oO on 2005-11-05 at 12:50:33
So then you wouldn't be able to detect the right or bottom sides of a map would you? Thats kinda bogus...
Report, edit, etc...Posted by Kumano on 2005-11-05 at 13:04:47
You only need to change where your detecting the screen, to make it the bottom right of your screen add 640 to X and 384 to Y and it should go there, but it won't work at the very bottom of the map.
Report, edit, etc...Posted by Oo.Turin.oO on 2005-11-05 at 13:08:10
Oh okay, but if you were like following the screen, the top left of the screen never touches the right side or the bottom so if you were only monitoring the screen THEN you woulnd't be able to detect the right and bottom right?
Report, edit, etc...Posted by www.com.au on 2005-11-07 at 02:38:14
yeh you would. because if you put the location for where the screen to go right next to the right side, the left side will get as close to it as possible, therefore the right side of the screen would hit the right side.
Report, edit, etc...Posted by PCFredZ on 2005-11-07 at 19:34:01
Shouldn't this be in Concepts?
Report, edit, etc...Posted by LegacyWeapon on 2005-11-07 at 19:43:22
No because he needed help on it.
Report, edit, etc...Posted by AFL-InuYasha on 2005-11-07 at 19:52:34
well thanks fuys, been alot of help, now its the bouncing part, is there any way to figure out how it hit the wall, because it can hit from 8 directions, N,NE,E,SE,S,SW,W,NE, i could use switches, but its wicked hard to figure
Report, edit, etc...Posted by LegacyWeapon on 2005-11-07 at 20:09:15
Here's a concept map I made with bouncing:
Report, edit, etc...Posted by AFL-InuYasha on 2005-11-08 at 16:04:50
thanks, im chkin it out rite now
Next Page (1)