Home | Rules and Guide | Sign In/Create Account | Write a Post | Donate | #ludumdare on irc.afternet.org (Info)

Ludum Dare 23 — April 20th-23rd, 2012 — 10 Year Anniversary!

Ludum Dare 22 :: December 16th-19th, 2011 :: Theme: Alone

[ Results: Top 50 Compo, Jam | Top 25 Categories | View My Entry ]

[ View All (Compo, Jam) | Warmup ]


Posts Tagged ‘help’

HELP! (Slick2D)

Posted by (twitter: @caranha)
Sunday, December 18th, 2011 5:44 am

So I´m trying to pretty up my game, but I can´t get Slick2D to render fronts using the UnicodeFont class. (So I can´t use some of the fancier functions from that class)

using the Graphics Class, I manage to:

g.Drawstring(¨foo¨,x,y);

But when I do:

UnicodeFont font = new Unicodefont(new Font(fontname, Font.Plain,20);
font.draw(x,y,¨foo);

Nothing happens.

I have tried to add a font effect to UnicodeFont, but it is still not displaying :-(

Halp, please?

EDIT: Thanks for all the help! It turns out that I have to font.loadGlyphs() at every render cycle to get my font to display.

Might be in; Looking for Jam partners

Posted by (twitter: @msleeperdotcom)
Wednesday, December 14th, 2011 8:13 pm

I’m still undecided if I’ll be participating this weekend; if I can get plans cleared and make sure I have as much time as I can. There’s also the slight issue of being completely terrible at any kind of art, 3D or 2D or any other kind of D’s.

Depending on things, I might decide to opt in for the Jam instead of the Dare. So with that said – any Unity3D people looking for a C# programmer?

Code Library/Base Code?

Posted by
Tuesday, December 13th, 2011 11:44 am

Hey, I’m fairly new to programming as a whole and I was wondering to what exactly qualifies as “base code” or a “Code Library”? I’m aware of the obvious ones that are available publicly such as Flixel, Box2D, ect. I’m more concerned about the personal libraries. For example, would an A* pathfinding system qualify as either of those?

99 problems and HTML5 is one

Posted by
Friday, December 2nd, 2011 5:35 pm

Hello fellow Ludum Darers,

I’ve been meaning to develop a game in HTML5, and my complete lack of understanding on the subject cripples me.

Are there any good opensource/free IDE’s out there?

Are there any good frameworks besides Impact?

How do you deal with sound? I’ve tried some games like Panda Poet, and the sound works perfectly, others not so much, what gives?

I’m aware of Construct 2, but am I gonna be able to go deeper in the code if I want to?

Are there any tutorials dealing with a HTML5 workflow?

Any tips, suggestions or advice?

Need photoshop help BADLY! <3

Posted by (twitter: @kranggames)
Sunday, August 21st, 2011 7:25 am

RED ALERT! I really need Photoshop help, I’d HUUUUUUGELY appreciate it :O

What I need to do is change a color on multiple layers. I’ve got 27 layers of an animated character. Character is black with white eyes by default. However I need to reskin him a few times, one of which being orange with blue eyes. I COULD use an adjustment layer, but then when I Export Layers to Files it ignores the adjustment layer :’(

How do I replace a color (black, and white) on multiple layers?

I would HUGELY appreciate help with this, big time. :)

No Progress

Posted by (twitter: @atkinssj)
Saturday, April 30th, 2011 1:40 pm

As is traditional now, I’ve spent a couple of hours having things not work for no explicable reason. It doesn’t help that Flashpunk’s documentation isn’t very good, but all I’m trying to do is draw a line, for which there is a function, which does nothing.

Maybe it’s a simple thing (the equivalent to forgetting to add a tween to the world) but whatever it is, it’s burned me out a bit. If anyone could tell me how to draw a line and make it work (preferably onto a Canvas, as I’ll be doing collisions from it too) then I’d be very, very grateful! And you’ll get a warm, fuzzy feeling, along with a game that has lines in! Everyone’s a winner!

Haven’t even started and I’m already lost!

Posted by
Thursday, April 28th, 2011 5:06 pm

So… I don’t know what to do, and am looking for some advice from the LD community.  My original plan was to compete this weekend using a little SDL-based framework I’d been working on… it still needs some work to get things like sound going, though, and is a little clunky.  After looking at what a few other people were using, though, I found out about SFML and got really excited about using it instead of SDL, and went ahead and re-wrote most of my framework using SFML… only to realize that I was using an obsolete version (1.6), which doesn’t support a couple key things I want to be able to do.  I’ve tried for several days now to get cmake to run on my machine to be able to instal SFML 2.0, but it hasn’t worked for me at all, and I’m completely burned out on it:  I wanted to spend this week coding and warming up for the LD, but instead I wasted it on trying to install a dang library!  Now I don’t know what to do at all… I feel tired of dealing with these libraries… I could go back to my old framework, but I still haven’t added sound support to it, and at this point will probably not have time to do so.  Are there any other good options that I am just missing?  Is there an easier way to get SGML2 working?  Is there another C++ library I could quickly adapt to?  Or is Pygame simple enough that I can pick it up on the fly?  Any ideas are welcome!

This is a real long shot…..

Posted by (twitter: @thewizardslair)
Saturday, January 15th, 2011 12:03 am

Are there any file hoarders about? I’m looking for the download of the timelapse video I had available in this post (I foolishly removed it from my webspace some 6 months ago thinking I wouldn’t need it)

Now PoV is building this new database of timelapses, I’d love to be able to hand a nice high-rez version of it over :)

If you know what i’m talking about, and have the file – please either leave a comment (and a link), or contact me by email (david AT wizardslair DOT co DOT uk)

Thanks for reading, and I hope you can help,
David/Devlin @ The Wizard’s Lair.

Collisions

Posted by of Platymuus (twitter: @SpaceManiacX)
Monday, October 6th, 2008 6:03 pm

I need help with collision code. I want to keep the player from falling through floors, pretty much. Help?

EDIT: Okay, I’ve got some good collision detection, but there’s something wrong with my moving code.

bool checkCollision(SDL_Rect &movable, double &vx, double &vy, SDL_Rect solid, bool move) {
int moveLeft = movable.x;
int moveTop = movable.y;
int moveRight = moveLeft + movable.w;
int moveBottom = moveTop + movable.h;

int solidLeft = solid.x;
int solidTop = solid.y;
int solidRight = solidLeft + solid.w;
int solidBottom = solidTop + solid.h;

int clipLeft = max(moveLeft, solidLeft);
int clipTop = max(moveTop, solidTop);
int clipRight = min(moveRight, solidRight);
int clipBottom = min(moveBottom, solidBottom);

if(clipLeft == clipRight || clipTop == clipBottom)
return false;

if(!move)
return true;

int clipWidth = clipRight – clipLeft;
int clipHeight = clipBottom – clipTop;

if(clipWidth solidX) {
// moving to right
movable.x += solidRight – moveLeft;
} else {
// moving to left
movable.x -= moveRight – solidLeft;
}
} else {
// moving along y axis
vy = 0;
int moveY = moveTop + movable.h / 2;
int solidY = solidLeft + solid.h / 2;
if(moveY > solidY) {
// moving to bottom
movable.y += solidBottom – moveTop;
} else {
// moving to top
movable.y -= moveBottom – solidTop;
}
}

return true;
}

Please help! If you’re interested in seeing what’s happening, here’s the program: http://files.chocoboheaven.com/uploads/Guests/files/85267_PaintWorld.zip

Strange Warnings When Compiling

Posted by of Platymuus (twitter: @SpaceManiacX)
Monday, August 25th, 2008 5:53 pm

Well, this is kind-of compo related, as I’m devoloping my library thing the wiki says I can have. I keep getting these warnings when compiling:

1>c:\program files\microsoft visual studio 8\vc\include\xlocnum(590) : warning C4312:
‘type cast’ : conversion from ‘uintptr_t’ to ‘void *’ of greater size
1> c:\program files\microsoft visual studio 8\vc\include\xlocnum(566) : while
compiling class template member function ‘std::istreambuf_iterator<_Elem,_Traits>
std::num_get<_Elem,_InIt>::do_get(_InIt,_InIt,std::ios_base &,std::ios_base::iostate
&,void *&) const’
1> with
1> [
1> _Elem=char,
1> _Traits=std::char_traits,
1> _InIt=std::istreambuf_iterator>
1> ]
1> c:\program files\microsoft visual studio 8\vc\include\xlocnum(1367) : see
reference to class template instantiation ‘std::num_get<_Elem,_InIt>’ being compiled
1> with
1> [
1> _Elem=char,
1> _InIt=std::istreambuf_iterator>
1> ]
1>c:\program files\microsoft visual studio 8\vc\include\xlocnum(590) : warning C4312:
‘type cast’ : conversion from ‘uintptr_t’ to ‘void *’ of greater size
1> c:\program files\microsoft visual studio 8\vc\include\xlocnum(566) : while
compiling class template member function ‘std::istreambuf_iterator<_Elem,_Traits>
std::num_get<_Elem,_InIt>::do_get(_InIt,_InIt,std::ios_base &,std::ios_base::iostate
&,void *&) const’
1> with
1> [
1> _Elem=wchar_t,
1> _Traits=std::char_traits,
1> _InIt=std::istreambuf_iterator>
1> ]
1> c:\program files\microsoft visual studio 8\vc\include\xlocnum(1373) : see
reference to class template instantiation ‘std::num_get<_Elem,_InIt>’ being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _InIt=std::istreambuf_iterator>
1> ]

Anyone know what’s going on, or how to fix it? I’m using SDL and VC++ 2005 Express.

And also, anyone know an easy way to keep <pre> tags inside the column thing? I had to find where it went over and make my own line breaks… And I don’t know if it’ll still look right if you have a different screen resolution. Thanks in advance!

EDIT: Aiee! I give up… I’ll just use some other type of formatting…

Help?

Posted by of Platymuus (twitter: @SpaceManiacX)
Saturday, August 23rd, 2008 4:52 pm

I program games and stuff so I thought I would register on this site, but how do I judge? I can’t find the button. Thanks!


All posts, images, and comments are owned by their creators.

[fcache: storing page]