Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, degenerate_762), 1,309 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
New way to load map #439430
04/02/14 19:13
04/02/14 19:13
Joined: Nov 2013
Posts: 47
S
SkullBoy99 Offline OP
Newbie
SkullBoy99  Offline OP
Newbie
S

Joined: Nov 2013
Posts: 47
Hey everybody,what do you think about a new way to load map?
I talk about a new level editor ,too.
My ideea is this:
We work on a map in level editor.When we click Save,the editor will generate a file in text format,and with a script included in your project,all objects will be placed at x,y,z position.
And I think with that ,our games will run more faster. grin

Re: New way to load map [Re: SkullBoy99] #439436
04/02/14 20:03
04/02/14 20:03
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
This is already possible and common practice for user generated/ project or genre specific level editors.
You can give it a try yourself and ask questions on the forums should you get stuck at some issue.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: New way to load map [Re: SkullBoy99] #439447
04/02/14 22:07
04/02/14 22:07
Joined: Sep 2009
Posts: 993
Budapest
Aku_Aku Offline
User
Aku_Aku  Offline
User

Joined: Sep 2009
Posts: 993
Budapest
The idea is good. I work on that since more than three years.

Re: New way to load map [Re: Aku_Aku] #439449
04/03/14 04:33
04/03/14 04:33
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Binary beats text 11 out of 10 times. What are you trying to achieve/speed up exactly?


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: New way to load map [Re: WretchedSid] #439453
04/03/14 07:10
04/03/14 07:10
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
I use text files for creating a level by loading entity data, using an optimized way by putting them into categories thus minimizing the stored information, and for some other settings like materials, shadows etc. you can check it, it is open source, but its speed is much slower than loading a wmb level, mainly because of the speed of ent_create, and the limitation of the number of running actions/functions per frame. maybe a binary solution would be slightly faster, but I use it because of better debugging possibilities.
so I recommend to use a wmb as a basis of in-game usage, with some additional stuff for materials, and other extra entities which do not have place within the main wmb file, like some thousands of grass models...


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: New way to load map [Re: WretchedSid] #439455
04/03/14 08:17
04/03/14 08:17
Joined: Sep 2009
Posts: 993
Budapest
Aku_Aku Offline
User
Aku_Aku  Offline
User

Joined: Sep 2009
Posts: 993
Budapest
At this stage, does not matter the level information are stored in text or binary data files.
The prime goal is what i try to achieve, is a system built from scratch, that is able to create a level, store that and load that. When that works i will deal with this aspect of the speed or performance. In my opinion in this stage, the text or binary data storing is not so important to make it primary goal.

Re: New way to load map [Re: Aku_Aku] #439469
04/03/14 11:37
04/03/14 11:37
Joined: Nov 2013
Posts: 47
S
SkullBoy99 Offline OP
Newbie
SkullBoy99  Offline OP
Newbie
S

Joined: Nov 2013
Posts: 47
Originally Posted By: Aku_Aku
The idea is good. I work on that since more than three years.

Can you show us your work?

Re: New way to load map [Re: SkullBoy99] #439475
04/03/14 13:36
04/03/14 13:36
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
I have a custom editor anywhere on my hard drive, pretty project specific, but if i find it, i can publish it on github (if you want). But be warned: The editor is mostly a 5k-lines file wink


Visit my site: www.masterq32.de
Re: New way to load map [Re: MasterQ32] #439477
04/03/14 13:44
04/03/14 13:44
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
it would be great. maybe I will also put my editor onto github...


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: New way to load map [Re: SkullBoy99] #439479
04/03/14 14:03
04/03/14 14:03
Joined: Sep 2009
Posts: 993
Budapest
Aku_Aku Offline
User
Aku_Aku  Offline
User

Joined: Sep 2009
Posts: 993
Budapest
Yes, of course.
But i have to know are there more than one inquisitive?
Because i used not English language when i made it,
so i have to translate, and it needs cca. 2-4 weeks.
I planned the translation, but not in this half year.

Page 1 of 3 1 2 3

Moderated by  aztec, Spirit 

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