Search found 15 matches

by werdo659
Mon Jan 06, 2014 11:22 am
Forum: Programming Discussion
Topic: toLua++ runtime error 0xc000a200
Replies: 4
Views: 4376

Re: toLua++ runtime error 0xc000a200

Okay well I'll check again to see if I have any missing DLLs

Edit: I haven't found any missing DLLs I have the SDL.dll toLua++.dll lua51.dll lua5.1.dll(Just to be sure) would you like to see the project folder?
by werdo659
Sun Jan 05, 2014 4:17 pm
Forum: Programming Discussion
Topic: toLua++ runtime error 0xc000a200
Replies: 4
Views: 4376

Re: toLua++ runtime error 0xc000a200

and if you need my code please say so I wasn't sure if you would so I didn't include it
by werdo659
Sun Jan 05, 2014 4:10 pm
Forum: Programming Discussion
Topic: toLua++ runtime error 0xc000a200
Replies: 4
Views: 4376

toLua++ runtime error 0xc000a200

Hello I'm getting an error whenever I try to run my toLua++ project I've been applying this tutorial http://usefulgamedev.weebly.com/tolua-example.html to my own project and if I don't use toLua++ the rest of my code compiles and runs correctly but when I add toLua++ I get an error when i try to run...
by werdo659
Tue Feb 26, 2013 7:11 pm
Forum: Game Development
Topic: Free development utilities (not a free trial, its all free)
Replies: 77
Views: 126170

Re: Free development utilities (not a free trial, its all fr

Skomakar'n wrote:I suppose Game Maker wouldn't count, then, since despite having a free version that does enable one to make games, cuts out on features and slaps on an ugly 'watermark' on the loading screen?
I have an easy solution *Ehem learn to code
by werdo659
Sat Feb 23, 2013 12:43 am
Forum: Programming Discussion
Topic: Lua reading array of strings issue C++/SDL
Replies: 4
Views: 2211

Re: Lua reading array of strings issue C++/SDL

dandymcgee wrote:Out of curiosity, why are you trying to load the map in Lua rather than passing the filename of the map from Lua (or a config file even) to C++ and doing the loading as part of the engine?
That way players can add new tiles to the game
by werdo659
Fri Feb 22, 2013 11:15 pm
Forum: Programming Discussion
Topic: Lua reading array of strings issue C++/SDL
Replies: 4
Views: 2211

Re: Lua reading array of strings issue C++/SDL

Light-Dark wrote:Just a question and I don't mean to offend you sir, but why the hell are you loading a new image for every tile :shock:? You know you can just load a single sheet and clip it up right...?
yes but i didnt feel like it i was lazy and tired
by werdo659
Tue Feb 19, 2013 8:08 am
Forum: Game Development
Topic: C++ reading array of strings from lua
Replies: 0
Views: 21271

C++ reading array of strings from lua

Hey guys I've made a few SDL games now and want to release one to the community, but I need to have the maps load from files so i don't have to recompile every time I change the map it's really annoying another problem is it used to be in all C++/SDL but I want it to have lua implementation now and,...
by werdo659
Mon Feb 18, 2013 7:25 pm
Forum: Programming Discussion
Topic: Lua reading array of strings issue C++/SDL
Replies: 4
Views: 2211

Lua reading array of strings issue C++/SDL

Hey guys I've made a few SDL games now and want to release one to the community, but I need to have the maps load from files so i don't have to recompile every time I change the map it's really annoying another problem is it used to be in all C++/SDL but I want it to have lua implementation now and,...
by werdo659
Mon Feb 18, 2013 7:08 pm
Forum: Programming Discussion
Topic: [ SOLVED ]Player wont Move C++/SDL
Replies: 8
Views: 5170

Re: Player wont Move C++/SDL please Help

I know this problems been fixed but I'm pretty sure this was the root of the problem: if(Event.type == SDL_KEYDOWN);// <--- SEMICOLON!!!!!!!1111!one { if(Event.key.keysym.sym == SDLK_LEFT) xVel -= PLAYER_WIDTH / 2; if(Event.key.keysym.sym == SDLK_RIGHT) xVel += PLAYER_WIDTH / 2; } Just thought I pu...
by werdo659
Sun Aug 26, 2012 11:43 am
Forum: Programming Discussion
Topic: [ SOLVED ]Player wont Move C++/SDL
Replies: 8
Views: 5170

Re: Player wont Move C++/SDL please Help

Are you trying to make it so when you hold down the key, your character accelerates? If not, try this: void Player::Input() { if(Event.type == SDL_KEYDOWN); { if(Event.key.keysym.sym == SDLK_LEFT) xVel = -(PLAYER_WIDTH / 2); if(Event.key.keysym.sym == SDLK_RIGHT) xVel = PLAYER_WIDTH / 2; } if(Event...
by werdo659
Sat Aug 25, 2012 7:03 pm
Forum: Programming Discussion
Topic: [ SOLVED ]Player wont Move C++/SDL
Replies: 8
Views: 5170

[ SOLVED ]Player wont Move C++/SDL

Hello guys i have a slight problem in my platformer during testing without logic just movement and images. Well i ran into a problem that my characters X position won't change. main.cpp #include "Variables.h" bool FrameCap = true; bool Running = true; const int FPS = 20; const int PLAYER_W...
by werdo659
Tue Aug 30, 2011 8:15 am
Forum: Programming Discussion
Topic: need help
Replies: 9
Views: 2593

I fixed it

I fixed it all i had to do is set choice to a string and evaluate the numbers as strings and it fixed it so I'm all good
by werdo659
Sun Aug 28, 2011 1:55 pm
Forum: Programming Discussion
Topic: need help
Replies: 9
Views: 2593

Re: need help

So sorry bout poor format i switch houses alot so i need to email my self the code and then it kinda gets rid of all my tabs and messes up how everything is placed
by werdo659
Sun Aug 28, 2011 2:00 am
Forum: Programming Discussion
Topic: need help
Replies: 9
Views: 2593

need help

ok so my problem is when a user enters a number from choices well it works fine the problem is if they enter a character it gets stuck in a continues loop of what was last outputed on the screen // Text Adventure.cpp : main project file. #include "stdafx.h" #include <cstdlib> #include <cst...
by werdo659
Wed Aug 24, 2011 11:43 pm
Forum: Programming Discussion
Topic: gyrovorbis please answer
Replies: 7
Views: 1413

gyrovorbis please answer

okay :worship: gyrovorbis :worship: can I please have the source code if u still have it for tile demo language :worship: c++ :worship: /sdl year ~2003 i'm pretty new to :worship: programming :worship: and i'm just looking for some open source projects to check out to see what it takes to make a dec...