Search found 312 matches

by ibly31
Tue Mar 10, 2009 6:37 am
Forum: Programming Discussion
Topic: A Newbie SDL Question
Replies: 7
Views: 531

Re: A Newbie SDL Question

I want, when you click that little button on the top right hand corner; maximized. NOT fullscreen. How is it done? Because the other code made the screen go black except for the start bar and them freeZe and crash... EDIT: I took away the XOR of noframe and it works fine, except I had to add a littl...
by ibly31
Mon Mar 09, 2009 7:56 pm
Forum: Programming Discussion
Topic: A Newbie SDL Question
Replies: 7
Views: 531

Re: A Newbie SDL Question

Umm... How do I XOR noframe? And I tried that code you had there, and it errored, went non-responding, then crashed. :D

EDIT: Also, I'm displaying PNG's with Alpha pre-made... and they are displaying with a black background... how do I make it interpret the alpha values?
by ibly31
Mon Mar 09, 2009 7:53 pm
Forum: Programming Discussion
Topic: Array of SDL_Surfaces??
Replies: 6
Views: 587

Re: Array of SDL_Surfaces??

IS each surface an image or am I drawing 5 diefferent surfaces when it could just be one?

Oh, and it works, thanks!1one one
by ibly31
Mon Mar 09, 2009 4:03 pm
Forum: Programming Discussion
Topic: Array of SDL_Surfaces??
Replies: 6
Views: 587

Re: Array of SDL_Surfaces??

what does **tiles do? I thought pointers were only one * ...?

Edit: and I thought malloc and sizeof were only used in C, I'm using C++
by ibly31
Sun Mar 08, 2009 4:47 pm
Forum: Programming Discussion
Topic: Array of SDL_Surfaces??
Replies: 6
Views: 587

Array of SDL_Surfaces??

I'm new to SDL, and I was testing to see if I could display a line of 5 textures I made. It won't let me have an array of surfaces, this is my code: std::string tilefile[5] = {"Textures/picket_fence","Textures/picket_fence","Textures/picket_fence","Textures/picket_...
by ibly31
Sun Mar 08, 2009 4:34 pm
Forum: Programming Discussion
Topic: A Newbie SDL Question
Replies: 7
Views: 531

A Newbie SDL Question

How do you maximize a window? I know how to set the size to 1024*768(My dimensions), and I'm sure there is a way to set the windows position, but thats not true maximize. Anyone know? Is it as simple as "SDL_WindowMaximize(blah);"
by ibly31
Sun Mar 08, 2009 4:32 pm
Forum: Programming Discussion
Topic: How To make a Level Editor
Replies: 4
Views: 465

Re: How To make a Level Editor

Write it in C++ using SDL, or get BlitzBasic. Also: IF you are looking for beginner tutorials, there are plenty, BUUT there is a catch. Everything doesn't have a tutorial. I hate when people ask "Can someone show me a tutoril on how to make a MMO in C++ using SDL that has scrolling tilebased ba...
by ibly31
Sat Mar 07, 2009 9:40 pm
Forum: General/Off-Topic
Topic: Glamorize Me, Capt'n! -- Level Editor Preparations
Replies: 64
Views: 3773

Re: Glamorize Me, Capt'n! -- Level Editor Preparations

You know the "type with 1's instead of l's"? Well, I tried that, and it wasn't working... so me, being a dumbass, stickytacked a thumbtack to the L key. And guess what? Now i'm bleeding. XD
by ibly31
Sat Mar 07, 2009 5:08 pm
Forum: Programming Discussion
Topic: Which library should I use?
Replies: 6
Views: 571

Re: Which library should I use?

I've seen some of the GyroVorbis development videos, and I see File, Edit,View menus mixed with graphics, is it possible to have a frame of the window devoted to SDL? And is SDL it? Or is SDL a plugin into OpenGL, or DirectX?
by ibly31
Sat Mar 07, 2009 2:12 pm
Forum: Programming Discussion
Topic: Which library should I use?
Replies: 6
Views: 571

Which library should I use?

I have been making games in C++ so far, with a library called DarkGDK, and it won't let me include any standard headers and it's veerryy restricted. I hear of a lot of libraries(ogre3D, SDL, OpenGL, DirectX) and I'm wondering which of these is best for a semi-beginner, and has a big community, so my...
by ibly31
Fri Mar 06, 2009 6:58 pm
Forum: Programming Discussion
Topic: Tile Map data? How to??? PLEASE HELP!
Replies: 5
Views: 574

Tile Map data? How to??? PLEASE HELP!

I'm making a tilemap editor, and I was about to make it have multiple layers, when I decided to change the size to a 16*16 map, and Its REALLY screwing up. I wanted to be able to read from files, so I couldn't reference the map data publicly, so this wouldn't work: int levelData[16][16] = {asdf,adsf...
by ibly31
Fri Mar 06, 2009 5:22 pm
Forum: Programming Discussion
Topic: ASCII number converter?
Replies: 6
Views: 435

Re: ASCII number converter?

Yeah, I just wanted a regular CMD prompt program, but microsoft overloads it with shit... like

int main(){
return 0;
}

but no its like

int main(system::event main.load, ^,^ &even::args){

return 0;
}
by ibly31
Fri Mar 06, 2009 2:47 pm
Forum: Programming Discussion
Topic: ASCII number converter?
Replies: 6
Views: 435

Re: ASCII number converter?

I know, it should be easy but the library I'm using(darkGDK) won't let me use any other standard headers like ofstream...
by ibly31
Fri Mar 06, 2009 6:32 am
Forum: Art, Music, and Design
Topic: Sprite Editors
Replies: 15
Views: 3019

Re: Sprite Editors

I've Have paint.net and macromedia fireworks. And paint obviously. I use paint for editing bitmaps, (effin fireworks won't let me ungroup BMPs to just pixels) and I use paint.net to do transparency. I could never figure out how to resize the dang canvas in paint.net. Overall, I'd say stick with pain...
by ibly31
Thu Mar 05, 2009 9:08 pm
Forum: Programming Discussion
Topic: ASCII number converter?
Replies: 6
Views: 435

ASCII number converter?

I'm making a tile map editor, and I need to write to a txt file. I have everything set, but I don't know how to convert numbers greater than or equal to 10... 1-9 you just add 816 and you have the code, but for 10, I'd be writing a word to the file; instead of a byte. I've been using dbWriteByte(fil...