since i didint know what was wrong in the code i just uploaded all,
its mostly copied functions from lazy foo so thoose functions should be working i think http://bitfile.se/files/p/Source.zip
Unhandled exception at 0x6812851a in Editor.exe: 0xC0000005: Access violation reading location 0x0000323c. when i try to run my program ( level editor ) from visual studio i get this error, i have no idea how to fix this, all info i can give is that it stops execution and show me this line of code S...
ill maybe try to make it walk straightly to the target point later but for now this will do,
its acutally pretty funny to play around with and make theese little guys follow you
after a little thinking ive made this function void citizen::walk(int xCor,int yCor) { if(x<xCor) { xVel=1; } if(x>xCor) { xVel= -1; } if(x==xCor) { xVel=0; if(y>yCor) { yVel= -1; } if(y<yCor) { yVel=1;} if(y==yCor) { yVel=0; } } } works pretty good, looks a little robo´ish but thats fine for now a...
Hello, im back to coding after taking a long break but i already have something i need help with :shock: Lets say i want to make a character that the player cant controll walk an certain point on the screen, lets say the coordinates are: x:300 y: 200 how whould i implement this? i need to create a f...
<Whore-ific Post> Calling all you multilingual folks: I just finished the chunk-o-code that translates text within Bop N' Pop based on the current CultureInfo ("en-US", "fr", "es-mx", etc.) I want to offer the game in English, Italian, French, and Spanish. I'm currentl...
<Whore-ific Post> Calling all you multilingual folks: I just finished the chunk-o-code that translates text within Bop N' Pop based on the current CultureInfo ("en-US", "fr", "es-mx", etc.) I want to offer the game in English, Italian, French, and Spanish. I'm currentl...