Yeah, I wasn't aware that iOS handled that type of thing for you in the manner it does, thanks for pointing that out.
Yeah, I wasn't aware that iOS handled that type of thing for you in the manner it does, thanks for pointing that out.
Here's a very very very early minimum-playable crappy version of my game
Edited:
Editing mode is on by default
Does anyone know of any platformer pathfinding AI resources?
Trying to do some A* for my enemies. Usually it works, but every now and then I get an infinite loop when backtracking. A points to B. B points to A etc. :saddowns:
My advice on AI pathfinding is think how you would make it work if you were manually placing nodes.. then get it working that way.
And only then try to generate the nodes automatically.
This is fun.
![]()
I won.
![]()
I've been working on some running animations for Block Runner 2 the last few hours, what do you guys think?
If the platformer is tile-based it should be that hard.
It's the same as with top down, only you don't spread to surrounding cells, you spread left and right and, if possible, to a ledge that's low enough that the enemy can jump on it.
It's not a trivial thing to do but it isn't the biggest of challenges.
Hi guys,
idunno what i doing
Btw, holding middle mouse button activates fly mode - forgot to tell.
I hate you outdated things
Got A* working. I forgot to clear the parent after each search
It's not using every tile ingame to find a path. Instead I make a graph network, like source.
hmm wat would you say is the best one? I think A* would be too overpowered for what I need I just want a simple one that is fast to run
wat
also alias is the best command ever
Code:alias ls=dir alias mv=move alias cp=copy alias rm=del
Do you guys have any opinions on WPF vs WinForms for a fairly simple program with a basic UI?
I have experience with neither, but I get mixed opinions when I google it.
Well it doesn't really work like that.
Djikstra is the most "bare bones" one that would work for your case (a weighted graph) but A* is just Djikstra with heuristics so it doesn't matter.
http://gyazo.com/c905b9dd512baf8623936fcf00309da9
At Bungie... programmer art is allowed to roam free...
Take note of the string with the username in, then the button to change the username.
I come in this thread for inspiration and to try out what others have made and I have to say that I really like this, very simple concept but really fun. Good job.
Depends what you need. If you need mono compatibility or something simple go with winforms. Otherwise go with WPF. Nice things about wpf are, newer editor, xml format which makes editing a lot easier, faster, etc.
Post #3021
Well, it depends on how basic you're going. WinForms is nice for a 'quick and dirty' UI solution; but if you want to have more control over how the UI is put together or how it looks, WPF is probably more useful.
From my experience of using both, I'd say WPF is more design oriented than WinForms is.
WinForms for the most part is compatible with Mono, if you plan on doing something cross-platform that is. WPF however, is not compatible with Mono.
You could also use GTK#
http://www.mono-project.com/GtkSharp
I think I'll just use winforms since the application is going to pretty simple. Thanks!
On a somewhat related note: Why the hell are there so many dead links on the MSDN...
Working on getting that to generate with Lua. Got this so far.
I just created a saving-system for my maps, now just a loading system.
I stole Dj-J3's light thing
Also multicolour. Wiring 255 to the R input of the light:
local on = false local r = 255 local g = 255 local b = 255 local img_glow = Image() local spr_glow = Sprite() function Component:onSpawn() self:SetImage("display_light_base.png") img_glow:Load("display_light_glow.png") spr_glow:SetImage(img_glow) spr_glow:SetBlendMode(BLEND_ADD) self:SetToolTip("Light\nOff") self:SetInputs({ {"On", TYPE_NUMBER, 2, 12}, {"R", TYPE_NUMBER, 2, 20}, {"G", TYPE_NUMBER, 2, 28}, {"B", TYPE_NUMBER, 2, 36} }) end local prev_on = false local inputs = nil function Component:onInputsTriggered() prev_on = on inputs = self:GetInputsTable() on = (inputs[1] ~= 0) if(on) then if(self:IsConnected(2) or self:IsConnected(3) or self:IsConnected(4)) then r = inputs[2] g = inputs[3] b = inputs[4] end spr_glow:SetColor( Color(r, g, b, inputs[1]*255) ) end -- if state didn't change, don't bother setting the tooltip. (optimization) if(on == prev_on) then return end if( on ) then self:SetToolTip("Light\nOn") else self:SetToolTip("Light\nOff") end end function Component:onDraw() if(on) then self:Draw(spr_glow) end end
Maurice is beating me in optimistics? I better post more rainbows
looks like agop doesn't want anyone taking his throne.
haha biggest idiot
Oh boy here we go...
Just so there is some content, taking a break from RTS to make a little practical tool for myself. It figures out whatever key you are in based off the guitar chords/notes you enter. It's not done yet but coming along surprisingly quickly.
If anyone else is a fellow musician wannabe and is interested let me know and I can upload it when it is done.
To be fair that was mostly due to that vote we did for that game. Right? Right guys? Guys?
on the bright side, i get an entire row to myself, with my name stamped all over it. what more could i want :D
-snip-
I have to admit, it's pretty impressive how well you take all the flak some people give you, and the fact that you choose to stick around. Good for you man.
I agree. He gets a lot of shit thrown at him, very little of it sticks (And props to you for metaphorically dodging their shit), but if it does, people hop all over it and say, "Oh my GOD, he's SUCH an asshole! Look what he did THIS time!", and then continue to throw more shit at him.
It's a vicious cycle and I've always wondered why nobody's been banned for flaming him.
EDIT:
I've also seen him through all the incidents that you guys like to cite, and I've also seen him try to move it to water under the bridge, and you guys shoot him down because you like to have a scapegoat.
you must be new.
Whatever you say, satan.
You didn't need to look at his post count to deduce that.
Ugh... that fps. Drawing 3.6k tiles with sfml should not bring you down to 40 fps blargh