• What are you working on? November 2011 Edition
    3,673 replies, posted
[QUOTE=Overv;33097932]Pretty happy with how it turned out.[/QUOTE] The client is pretty happy how it turned out, too.
I just realized that if you have a parent class variable in C#, and you store a child class inside the variable, you can access the methods and properties by doing this: [code] (ship as AIShip).ChooseTarget(); //AIShip is a subclass that has a method ChooseTarget() [/code] This makes me happy.
I have a question regarding some abstraction. I have a base class that has a virtual render method. One other class inherits from it, then another inherits from it and so on. After a few layers, the render method has a lost of functionality with each new subclass doing and override and starting it with base.Render(); + extra code. Now I want to implement new functionality to all of them so I need to modify the base class, but what I want to do is write code that will execute AFTER all the child classes have executed their additions. How would I go about doing that?
Zooming in and out works now! (It doesn't look centered, but it really is centered on the viewport) [vid]http://dl.dropbox.com/u/28079852/love%202011-11-03%2015-09-25-70.webm[/vid]
[QUOTE=Parakon;33095592][img]http://i41.tinypic.com/2lniwy8.png[/img] I got an NPC to spawn and follow the player, and his hair and facial hair are randomly selected, and it's possible to change the player's appearance. also programmer art.[/QUOTE] I wish I could do that kind of programmer art.
My first LÖve game.. [IMG]http://oi40.tinypic.com/dysz1e.jpg[/IMG]
[QUOTE=MitchvW;33102781]My first LÖve game.. [IMG]http://oi40.tinypic.com/dysz1e.jpg[/IMG][/QUOTE] Excuse me, but that looks like the löve physics tutorial.
[QUOTE=DrLuke;33102799]Excuse me, but that looks like the löve physics tutorial.[/QUOTE] Don't tell anyone now. And I edited the code a bit, and it has a fps counter.
[QUOTE=MitchvW;33102812]Don't tell anyone now. And I edited the code a bit, and it has a fps counter.[/QUOTE] Ok I won't tell anyone!
Also I added realistic jumping, that uses physics aswell. Not just teleporting up.
HERE IS MY GAME [IMG]http://i.imgur.com/5g0N0.png[/IMG] [url]http://dl.dropbox.com/u/679615/mayro.html[/url]
[QUOTE=Eric95;33103227]HERE IS MY GAME [url]https://dl-web.dropbox.com/get/Public/mayro.html?w=961ddf8d[/url][/QUOTE] I dont like your game it says im not allowed :(
[QUOTE=Eric95;33103227]HERE IS MY GAME [url]https://dl-web.dropbox.com/get/Public/mayro.html?w=961ddf8d[/url][/QUOTE] Give us at least a picture, a video , gif or something. How should we know what is behind that link ? Btw, there is error 403 behind that link.
[QUOTE=DrLuke;33102799]Excuse me, but that looks like the löve physics tutorial.[/QUOTE] That looks EXACTLY like the love physics tutorial.
[QUOTE=ZenX2;33099736]Passing color values for individual pixels, based on x,y coordinates, to love's shader system requires converting the tables or whatever you are using to imagedata, creating an image based on the imagedata, passing the image to the shader, and then setting pixel colors based on the pixels of the image. Basically, ~data~ -> ImageData (using setPixel or mapPixel, whatever) -> Image -> Shader There's no faster way besides just rendering the Image, as far as I can tell.[/QUOTE] What is it you're doing that requires you to render arbitrary pixel values each frame based on calculations that can't be done in a shader?
[QUOTE=AntonioR;33103267]Give us at least a picture, a video , gif or something. How should we know what is behind that link ? Btw, there is error 403 behind that link.[/QUOTE] There, I fixed the link Also added picture
[QUOTE=Eric95;33103227]HERE IS MY GAME [IMG]http://i.imgur.com/5g0N0.png[/IMG] [url]http://dl.dropbox.com/u/679615/mayro.html[/url][/QUOTE] trying way too hard to be funny
I was bored in school today and forgot to sync Mari0 so I made something stupid (as usual) [img]http://i.imgur.com/341Pn.png[/img] It randomly prints phrases, too.
[QUOTE=Nintendo-Guy;33103678]trying way too hard to be funny[/QUOTE] I know it's not really funny, it's just that I added some crappy craphics to a failed attempt at making a good flash platformer engine.
[QUOTE=Maurice;33103763]I was bored in school today and forgot to sync Mari0 so I made something stupid (as usual) [img]http://i.imgur.com/341Pn.png[/img] It randomly prints phrases, too.[/QUOTE] You could release it as a screensaver.
[QUOTE=OldFusion;33103818]You could release it as a screensaver.[/QUOTE] I don't know if I want my screensaver telling me to stab myself.
[QUOTE=Maurice;33103763]It randomly prints phrases, too.[/QUOTE] Is that a sideffect of Japanese or your code itself?
[QUOTE=RiceWarrior;33104086]I don't know if I want my screensaver telling me to stab myself.[/QUOTE] Trust me, you do. [url]http://filesmelt.com/dl/Matrix_screensaver.zip[/url] Source: [url]http://filesmelt.com/dl/matrix1.love[/url] I have no idea what you have to do with the dll's. [QUOTE=Jookia;33104173]Is that a sideffect of Japanese or your code itself?[/QUOTE] Nah I coded it that way.
[QUOTE=Maurice;33104174]Nah I coded it that way.[/QUOTE] It's a good thing no one knows Japanese
[QUOTE=Maurice;33104174] I have no idea what you have to do with the dll's.[/QUOTE] Throw 'em in system32 and hope nothing bad happens
If green text appears, the [del]hack has successfully completed all operations[/del] screensaver is working correctly
That's the second time today I spelt 'side effect' wrong. Does anybody know how if Clang 3.0 works with Boost yet?
[QUOTE=Jookia;33104777]That's the second time today I spelt 'side effect' wrong. Does anybody know how if Clang 3.0 works with Boost yet?[/QUOTE] Yes, someone does know.
[QUOTE=Soviet_Banter;33105089]Yes, someone does know.[/QUOTE] Thank god for that.
[QUOTE=Maurice;33104174]Trust me, you do. I have no idea what you have to do with the dll's. [/QUOTE] Register them with regsvr32.exe ??
Sorry, you need to Log In to post a reply to this thread.