Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Cosimo

Member Since 15 Jun 2008
Offline Last Active Jul 17 2015 12:54 PM

#5238937 Bugs in code?

Posted by Cosimo on 08 July 2015 - 02:30 AM

Also if you are using SDL2 you are still using old SDL functions...

 

SDL_Surface*, SDL_FillRect()... why don't you create a SDL renderer? Will be much easier.

 

Try to use:

SDL_CreateRenderer()

SDL_SetRenderDrawColor()

SDL_RenderClear()

SDL_RenderFillRect()

SDL_RenderPresent()




#5238872 What should I use

Posted by Cosimo on 07 July 2015 - 04:41 PM

I come across this http://www.thegamecreators.com/ many years ago...

 

Anyway depend on the game genre

 

Is that a classic RPG game? then

http://www.rpgmakerweb.com/

 

Do you want something easy to program? then

https://love2d.org/

 

Something else? then check

http://www.stencyl.com/

or

http://game-editor.com/Main_Page




#5238869 C++ template specialization problem

Posted by Cosimo on 07 July 2015 - 04:19 PM

The problem are arguments you pass.

 

command is unsigned long?

 

unsigned long command;
is different from
unsigned int command;

 

and what about the_method?

it should be

std::function<void(unsigned int, uint32_t)>




PARTNERS