Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (NewbieZorro, Grant, TipmyPip, AndrewAMD), 13,346 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
how to make my "game" a game? #168117
11/18/07 21:33
11/18/07 21:33
Joined: Jun 2007
Posts: 63
Italy
Sonic220 Offline OP
Junior Member
Sonic220  Offline OP
Junior Member

Joined: Jun 2007
Posts: 63
Italy
http://www.megaupload.com/de/?d=TNKPN1L4
That's the first game I've tryed to do, it sux and I don't know how to optimize this.
First of all, the ship (the player) stop moving when it shot.
When the asteroids touch the player, it difficulty die, must be an error in the collision.
When the player die by touching an asteroid the game over panel appear, but when the player die by touch a shot the game freeze.
I want the game restart by the button in game over pan, but i don't know how.
I want to jump to another level at the end of the first.

Pls, if someone can fix this to let me know how to do, cause I don't know english very well as you can see.
Thank you all

Last edited by rvL_eXile; 11/19/07 12:43.

~Vision Divine~
Re: how to make my "game" a game? [Re: Sonic220] #168118
11/19/07 02:36
11/19/07 02:36
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline

3D Artist
rvL_eXile  Offline

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
Sry, hab da wohl was zu übereagiert...

Youll have some trouble with the Collision, take a look at the PUSH Values / ent_remove / C_Move Commands. I think it appears because the Player are to fast, maybe reduce the wait(x); Value on the Player remove !

cYa Sebastian

Last edited by rvL_eXile; 11/19/07 12:49.

Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: how to make my "game" a game? [Re: rvL_eXile] #168119
11/19/07 12:40
11/19/07 12:40
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
You are way to exaggerating. Your entry for the summer 2007 contest is remarked as "free" to everyone on the Acknex Ressource Site. Your game has no license file included which explicitely denies the usage of your content. The terms of the contest included that all entries will be open to the public "as they are". I understand that you claim your copyright, but please remember the circumstance under which you released the game.

Please re-read the moderator's guidelines and add the removed text from the original post - otherwise he can't get help on his problem.

Re: how to make my "game" a game? [Re: rvL_eXile] #168120
11/19/07 19:26
11/19/07 19:26
Joined: Jun 2007
Posts: 63
Italy
Sonic220 Offline OP
Junior Member
Sonic220  Offline OP
Junior Member

Joined: Jun 2007
Posts: 63
Italy
Quote:

Sry, hab da wohl was zu übereagiert...

Youll have some trouble with the Collision, take a look at the PUSH Values / ent_remove / C_Move Commands. I think it appears because the Player are to fast, maybe reduce the wait(x); Value on the Player remove !

cYa Sebastian



I've checkd all the velues, that's all at 1, if there's something wrong whit the ent remove i don't know what to do, i think it's all good Oo
The wait are all on (1).
Thx for the help, I'll try to do something.

Quote:

You are way to exaggerating. Your entry for the summer 2007 contest is remarked as "free" to everyone on the Acknex Ressource Site. Your game has no license file included which explicitely denies the usage of your content. The terms of the contest included that all entries will be open to the public "as they are". I understand that you claim your copyright, but please remember the circumstance under which you released the game.

Please re-read the moderator's guidelines and add the removed text from the original post - otherwise he can't get help on his problem.



Cause I'm not good at english I haven't understand.
Must I delete my first post?


~Vision Divine~
Re: how to make my "game" a game? [Re: Sonic220] #168121
11/19/07 20:04
11/19/07 20:04
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Quote:

Cause I'm not good at english I haven't understand.
Must I delete my first post?




No. This was for rvl_exile.

Re: how to make my "game" a game? [Re: HeelX] #168122
11/21/07 15:45
11/21/07 15:45
Joined: Jul 2003
Posts: 85
France
Gandalf Offline
Junior Member
Gandalf  Offline
Junior Member

Joined: Jul 2003
Posts: 85
France
for: the ship (the player) stop moving when it shot
the problem is wait(10) in your action moveplayer
add function playershoot
Code:

function playershoot ()
{
while (1)
{
if (key_space == on) // press and hold the "Space" key to move
{
snd_play(onesh, 100, 0);
you=ent_create(Shoot_tga,vector(my.x+40,my.y,my.z),shoot_me);
you.passable=off;
wait (10);
}
wait(1);
}
}

action moveplayer
{
my.enable_entity=on;
my.event = Touch_me;
player = me;
my.push=1;
my.polygon=on;
playershoot();
while (1)
{ c_move (my, nullvector, vector(1, 0, 0), glide);
camera.x = my.x + 100;
// move the car using absolute_speed
if (key_cuu == on && my.y < 90) // press and hold the "Up" arrow key to move
{
c_move (my, nullvector, vector(0, 2, 0), glide);
}
if (key_cud == on && my.y > -90) // press and hold the "Down" arrow key
{
c_move (my, nullvector, vector(0, -2, 0), glide);
}
wait (1);
}
}



in your define panel
Code:
Panel Game_Over_Pan
{
bmap = "gameover.bmp";
pos_x=162;
pos_y=74;
button = 180, 150, neu_O_bmap, Neu_N_bmap, Neu_O_bmap, next_Game, null, null;
flags=refresh, overlay;
}



button is over size of bmap, resize your bmap (for example 500*500 pixels)

remove Game_Over_pan.visible=on; in spawn, spawn2 and spawn3, no needed this

for next level create and call them at end of level

Code:
 function next_level()
{
die=1;
snd_play(start, 100, 0);
Game_next_Pan.visible = off;
wait(1);
level_load("level2.wmb");
wait (1);
mouse_mode=0;
}



I looked at your code quickly, but I think that there is still some improvements to make, look at excellent Planet Survivor of the magazine AUM

I can send you the corrected code, But in first work one little on your code, it's the best way of learning

Last edited by Gandalf; 11/21/07 15:49.
Re: how to make my "game" a game? [Re: Gandalf] #168123
11/21/07 22:24
11/21/07 22:24
Joined: Jun 2007
Posts: 63
Italy
Sonic220 Offline OP
Junior Member
Sonic220  Offline OP
Junior Member

Joined: Jun 2007
Posts: 63
Italy
thx! You helped me a lot!
I really want to learn, thx of all.
If you can send me the corrected code I will see the error, but don't worry, I will fix it by the time.

The only thing i want to know is how can I utilize the collision better.
I will check Planet Survivor, do you remember the AUM magazine number?


~Vision Divine~
Re: how to make my "game" a game? [Re: Sonic220] #168124
11/22/07 19:31
11/22/07 19:31
Joined: Jul 2003
Posts: 85
France
Gandalf Offline
Junior Member
Gandalf  Offline
Junior Member

Joined: Jul 2003
Posts: 85
France
aum36 to aum45


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1