Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 600 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Getting started! #483178
05/08/21 02:45
05/08/21 02:45
Joined: Jan 2006
Posts: 33
California
Amanda_Dearheart Offline OP
Newbie
Amanda_Dearheart  Offline OP
Newbie

Joined: Jan 2006
Posts: 33
California
Hey guys, just getting started! I managed to get a splash screen into my project, but I cannot get the the game started. It is difficult to explain in words what is happening, so I want to attach a zip file containing a video of what is happening. How do I do that? Hopefully there is someone on these forums that can help me solve them. Also included is a script file that contains errors that I that load_level is undeclared. Hopefully someone can help me fix this problem.

Last edited by Amanda_Dearheart; 05/08/21 02:49. Reason: need to attach an zip file

Prepare to be assimilated. Resistance is futile

Amanda Dearheart

Business E-mail : cjw.roberson@gmail.com
Re: Getting started! [Re: Amanda_Dearheart] #483184
05/08/21 10:09
05/08/21 10:09
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Hey!

For attaching videos, I would recommend (f.e.) using youtube. If you use platforms such as youtube, other users will be confident that content is safe (no viruses, etc).
As for sharing the code, you can simply use code tags:

[.code] // code here [./code] (don't forget to remove dots).

As for the error 'load_level is undeclared', maybe it's a typo in your message, but it's visaversa -> 'level_load (STRING* filename);'
Another thing to mention is, that if you don't include acknex header into your project, sometimes it won't recognize acknex function (#include <acknex.h> at the top).

Here is a small example:
Code
#include <acknex.h> // include acknex header

void main()
{
	fps_max = 60; // set fps limit
	warn_level = 6; // show all errors
	
	// initialize video device
	video_mode = 7;
	video_switch(video_mode, 0, 0);
	
	// empty level
	level_load("");
	
	// loop untill 'esc' is pressed
	while(!key_esc)
	{
		// draw 'hello world' at x = 10 y = 10 pixel position with white color
		draw_text("hello world!", 10, 10, COLOR_WHITE);
		
		// wait one frame, then repeat
		wait(1);
	}
	
	// exit the game when we break from the loop
	sys_exit(NULL);
}


Best regards!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Getting started! [Re: Amanda_Dearheart] #483185
05/08/21 10:32
05/08/21 10:32
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline
User
Dooley  Offline
User

Joined: May 2005
Posts: 868
Chicago, IL
It might also help to know which version of Gamestudio you are using.

I agree, I don't think there is a way to attach a zip file here. A Youtube video would be your best bet.

Re: Getting started! [Re: Amanda_Dearheart] #483189
05/09/21 02:31
05/09/21 02:31
Joined: Jan 2006
Posts: 33
California
Amanda_Dearheart Offline OP
Newbie
Amanda_Dearheart  Offline OP
Newbie

Joined: Jan 2006
Posts: 33
California
Thanks to the two of you.


Prepare to be assimilated. Resistance is futile

Amanda Dearheart

Business E-mail : cjw.roberson@gmail.com
Re: Getting started! [Re: Amanda_Dearheart] #483190
05/09/21 11:07
05/09/21 11:07
Joined: Sep 2009
Posts: 993
Budapest
Aku_Aku Offline
User
Aku_Aku  Offline
User

Joined: Sep 2009
Posts: 993
Budapest
There is one more option. You can attach an image file to your post (eg. screenshot).
The method is explained in the Forum Help at the top of the forum web page.


Gamestudio download | chip programmers | 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