• What are you working on? v19
    6,590 replies, posted
Developping a game mode for MTA:SA. God Lua is an awful language when you're used to C-like stuff.
[QUOTE=Xeon06;31366642]Developping a game mode for MTA:SA. God Lua is an awful language when you're used to C-like stuff.[/QUOTE] Lua is probably the most C like (well known and widely used!)scripting language you can get. Other then the Lack of Classes but those aren't needed anyway if its only a scripting interface.
Sometimes the people at stack exchange can be so annoying :v: edit: My 1000th post aimed at sadness. :frown:
[QUOTE=ColdFusionV2;31366722]Lua is probably the most C like scripting language you can get. Other then the Lack of Classes but those aren't needed anyway if its only a scripting interface.[/QUOTE] There are ways around that [url]http://lua-users.org/wiki/SimpleLuaClasses[/url]
[QUOTE=ColdFusionV2;31366722]Lua is probably the most C like scripting language you can get. Other then the Lack of Classes but those aren't needed anyway if its only a scripting interface.[/QUOTE] [url]http://www.squirrel-lang.org/[/url]
[QUOTE=thomasfn;31366760][url]http://www.squirrel-lang.org/[/url][/QUOTE] I dislike squirrel with a passion.
[QUOTE=ColdFusionV2;31366722]Lua is probably the most C like (well known and widely used!)scripting language you can get. Other then the Lack of Classes but those aren't needed anyway if its only a scripting interface.[/QUOTE] Javascript.
[QUOTE=Overv;31366941]Javascript.[/QUOTE] -snip-
[QUOTE=BAZ;31366641]Been a long time since i've done any work on this procedural dungeon generator! Here's a small update showing mainly A* pathfinding I added yesterday. (I turned fullbright on, so you can see the full path) [img]http://i.cubeupload.com/HFVcCm.png[/img] Now all i've gotta do is hook it up to the enemy AI and we have badguys![/QUOTE] That is a very odd dungeon generator. Are you intentionally generating rooms that are much wider than they are tall (and vice versa)? There seems to be very few squarish rooms.
[QUOTE=BlkDucky;31366973]That is a very odd dungeon generator. Are you intentionally generating rooms that are much wider than they are tall (and vice versa)? There seems to be very few squarish rooms.[/QUOTE] It looks pretty reasonable.
[QUOTE=Map in a box;31366809]I dislike squirrel with a passion.[/QUOTE] Care to say why? It has an excellent API and the script syntax is great.
[QUOTE=Jookia;31366991]Care to say why? It has an excellent API and the script syntax is great.[/QUOTE] I hate the syntax.
[QUOTE=ColdFusionV2;31366722]Lua is probably the most C like (well known and widely used!)scripting language you can get. Other then the Lack of Classes but those aren't needed anyway if its only a scripting interface.[/QUOTE] [QUOTE=Overv;31366941]Javascript.[/QUOTE] That's exactly was I was gonna say. JavaScript is way more C like than Lua. It has brackets, + as concatenation operator, shorthand operators, etc. I really wish more people would use JS as a scripting language, especially with V8 being so fast. Just check the huge following that Node is getting.
[QUOTE=Xeon06;31367040]That's exactly was I was gonna say. JavaScript is way more C like than Lua. It has brackets, + as concatenation operator, shorthand operators, etc. I really wish more people would use JS as a scripting language, especially with V8 being so fast. Just check the huge following that Node is getting.[/QUOTE] Someone should do a js/lua speedtest. I'm curious to see the results all of the sudden.
[QUOTE=BlkDucky;31366973]That is a very odd dungeon generator. Are you intentionally generating rooms that are much wider than they are tall (and vice versa)? There seems to be very few squarish rooms.[/QUOTE] There are quite a few squarish rooms, just check the bottom. Just happens to be an odd screenshot.
[QUOTE=Map in a box;31367064]Someone should do a js/lua speedtest. I'm curious to see the results all of the sudden.[/QUOTE] Which implementations should that someone test? [editline]27th July 2011[/editline] V8 and LuaJit? [editline]27th July 2011[/editline] Apparently V8 uses a garbage collection method that stops the execution of the script whenever the GC is run. Might be a problem if lots of objects are being used.
Does anyone know the format of pivots animations?
[QUOTE=esalaka;31367239]Which implementations should that someone test?[/QUOTE] To make it fair it should be the official ones
[QUOTE=Richy19;31368184]To make it fair it should be the official ones[/QUOTE] There's no official ECMAScript implementation you dumbass :v: [editline]27th July 2011[/editline] And more precisely, there's no official JavaScript implementation either
Anyone interested in beta testing my chatbox? [url]http://www.overvprojects.nl/fpchat/[/url]
[QUOTE=Overv;31369199]Anyone interested in beta testing my chatbox? [url]http://www.overvprojects.nl/fpchat/[/url][/QUOTE] Dont know if you cleaned the cache or something but its asking me to re-authenticte
Improved my road algorithm [thumb]http://i.imgur.com/3ekRv.png[/thumb][thumb]http://i.imgur.com/GyheK.png[/thumb] [thumb]http://i.imgur.com/8rFYR.png[/thumb][thumb]http://i.imgur.com/9gl8C.png[/thumb]
Overv it won't let me join I tried to post the code again but Facepunch said it was a duplicate of a post within the last 5 minutes so it wont let me post it again
It has been a while since I posted pictures about this so here's one. [img]http://i.imgur.com/TEqly.gif[/img] Now you can use assault rifles. Green line is where it should aim and red one is where it's actually aiming. This pic is 50 times slower than normal.
[QUOTE=ZomBuster;31369368]Improved my road algorithm [thumb]http://i.imgur.com/3ekRv.png[/thumb][thumb]http://i.imgur.com/GyheK.png[/thumb] [thumb]http://i.imgur.com/8rFYR.png[/thumb][thumb]http://i.imgur.com/9gl8C.png[/thumb][/QUOTE] That actually looks like a town, well done.
[QUOTE=Overv;31369199]Anyone interested in beta testing my chatbox? [url]http://www.overvprojects.nl/fpchat/[/url][/QUOTE] Doesn't work for me..keeps saying [quote]The code could not be found on the specified profile. Are you sure you posted on your own profile with your own account? Otherwise make sure the code in your message is 40 characters long.[/quote] It's definitely there though and I'm putting my page in the box
[QUOTE=Overv;31369199]Anyone interested in beta testing my chatbox? [url]http://www.overvprojects.nl/fpchat/[/url][/QUOTE] I got authenticated fine, chatbox shows but only "You are using Google Chrome. Click here to enable Chrome Desktop Notifications for when you're mentioned." is displayed. I can't write messages, see anyone online or get messages.
[QUOTE=ZomBuster;31369368]Improved my road algorithm [thumb]http://i.imgur.com/3ekRv.png[/thumb][thumb]http://i.imgur.com/GyheK.png[/thumb] [thumb]http://i.imgur.com/8rFYR.png[/thumb][thumb]http://i.imgur.com/9gl8C.png[/thumb][/QUOTE] Can you give some more info on this? I tried something similar a couple of months ago but couldn manage to do so
[QUOTE=Jake1305;31369893]I got authenticated fine, chatbox shows but only "You are using Google Chrome. Click here to enable Chrome Desktop Notifications for when you're mentioned." is displayed. I can't write messages, see anyone online or get messages.[/QUOTE] Seems to work fine for me on chrome
[QUOTE=Overv;31369199]Anyone interested in beta testing my chatbox? [url]http://www.overvprojects.nl/fpchat/[/url][/QUOTE] Doesn't work for me... [quote]The code could not be found on the specified profile. Are you sure you posted on your own profile with your own account? Otherwise make sure the code in your message is 40 characters long.[/quote]
Sorry, you need to Log In to post a reply to this thread.