Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Simple way to develope 2D Game (Do Upp include something to develope 2D Game ?)
Re: Simple way to develope 2D Game [message #52416 is a reply to message #52407] Sun, 22 September 2019 12:25 Go to previous messageGo to next message
kekhuadong2 is currently offline  kekhuadong2
Messages: 5
Registered: September 2019
Promising Member
Thanks Mirek
Re: Simple way to develope 2D Game [message #52418 is a reply to message #52409] Sun, 22 September 2019 14:48 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 592
Registered: November 2008
Location: France
Contributor
I just dowloaded and compiled JetStory on my Linux and had a success ... after having to tweek my config.

The compilation of JetStory package uses a lot of RAM ( I have only 4Gb) and with no multi-threading (only one hydra thread) it almost uses 4Gb of SWAP to compile Shocked (which means it needs at least 8Gb of RAM to compile)

What in the code makes the compiler need so much RAM ? the JetStory package isn't so big even with all the images (37Mb).
The same happens with GCC and CLANG

The game works fine on my (now) old computer Smile
Re: Simple way to develope 2D Game [message #52419 is a reply to message #52418] Sun, 22 September 2019 15:54 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1133
Registered: December 2006
Senior Contributor
You can try to compile code with GCC and extra C++ options: -v -ftime-report -fmem-report
You should get detailed info on compiler memory and time usage.
Clang doesn't seem to support -fmem-report.


Regards,
Novo
Re: Simple way to develope 2D Game [message #52422 is a reply to message #52418] Mon, 23 September 2019 09:23 Go to previous message
mirek is currently online  mirek
Messages: 13038
Registered: November 2005
Ultimate Member
Didier wrote on Sun, 22 September 2019 14:48
What in the code makes the compiler need so much RAM ?


Graphics in .iml files.

Mirek
Previous Topic: |SOLVED] Vector of object: cast to inherited class
Next Topic: How do I construct a Vector from a C-style array?
Goto Forum:
  


Current Time: Tue Jan 19 10:09:19 CET 2021

Total time taken to generate the page: 0.00993 seconds