Amac [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=39473 Journey to making a physics engine. <p>So I am posting this to basically share a new exciting discovery I made about physics engine development.</p> <p>So I have made several attempts to making a working physics engine but have had some difficulty achieving this.<br /> I have managed to create several games that utilizes somewhat working but also broken physics. </p> <p>My two games that have semi-working physics. </p> <p> <table><tr><td> <a href="/bbs/?pid=94077#p"> <img src="/bbs/thumbs/pico8_alienborderpatrol-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=94077#p"> alienborderpatrol</a><br><br> by <a href="/bbs/?uid=39473"> Amac</a> <br><br><br> <a href="/bbs/?pid=94077#p"> [Click to Play]</a> </td></tr></table> </p> <p> <table><tr><td> <a href="/bbs/?pid=106497#p"> <img src="/bbs/thumbs/pico8_fizohumaba-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=106497#p"> fizohumaba</a><br><br> by <a href="/bbs/?uid=39473"> Amac</a> <br><br><br> <a href="/bbs/?pid=106497#p"> [Click to Play]</a> </td></tr></table> </p> <p>However, I have found a new course that is helping me understand video game physics even more. </p> <p>Excellent course on how to make a 2D game physics.<br /> <a href="https://www.pikuma.com/">2D Video Game Physics Course is located here</a></p> <p>Thanks to the video game physics course I now know my common problem found in these two physics engines. Both games lack the projection method of resolving collisions. I only have completed about 55% of the course so far, but<br /> I just thought I might share that I struggled making a physics engine for pico-8 games and finally found a course<br /> that is affordable and is actually guiding me to making a better physics engine for pico-8. </p> <p>I plan on recreating these two games with a new and better physics engine. Since the course teaches how to program<br /> physics simulation of rotations I might even make the spaceships and boxes rotate which I thought I would never have<br /> achieved until the recent discovery of this game physics engine course.</p> <p>The Pikuma website also has a 3D Soft Engine course as well in which I have purchased to learn how to make a 3D Game in pico-8. However, I have not finished the physics engine course yet so I have no input on if it is good or not.</p> https://www.lexaloffle.com/bbs/?tid=46488 https://www.lexaloffle.com/bbs/?tid=46488 Mon, 07 Feb 2022 15:26:18 UTC Stack <p> <table><tr><td> <a href="/bbs/?pid=94655#p"> <img src="/bbs/thumbs/pico8_gikihokubi-4.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=94655#p"> Stack</a><br><br> by <a href="/bbs/?uid=39473"> Amac</a> <br><br><br> <a href="/bbs/?pid=94655#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=43749 https://www.lexaloffle.com/bbs/?tid=43749 Fri, 09 Jul 2021 23:28:44 UTC Alien Border Patrol <p> <table><tr><td> <a href="/bbs/?pid=94077#p"> <img src="/bbs/thumbs/pico8_alienborderpatrol-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=94077#p"> alienborderpatrol</a><br><br> by <a href="/bbs/?uid=39473"> Amac</a> <br><br><br> <a href="/bbs/?pid=94077#p"> [Click to Play]</a> </td></tr></table> </p> <p>How to play:</p> <p>Press Up or X to shoot.</p> <p>Press Down or Z to reload.</p> <p>Push the illegal space aliens to the top of the screen.</p> <p>If an illegal space alien crosses the bottom of the screen it has successfully crossed the border and damage is taken on the currently selected border patrol a.k.a Border Patrol Spaceship.</p> <p>The bigger the ship the more mass it has. Thus, a ship that has greater mass requires a greater amount of bullets to push it back.</p> https://www.lexaloffle.com/bbs/?tid=43545 https://www.lexaloffle.com/bbs/?tid=43545 Sat, 26 Jun 2021 13:54:48 UTC Platformer Engine <p> <table><tr><td> <a href="/bbs/?pid=86415#p"> <img src="/bbs/thumbs/pico8_muzeyijiwa-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=86415#p"> muzeyijiwa</a><br><br> by <a href="/bbs/?uid=39473"> Amac</a> <br><br><br> <a href="/bbs/?pid=86415#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=41157 https://www.lexaloffle.com/bbs/?tid=41157 Wed, 13 Jan 2021 02:12:12 UTC Drift Metal <p> <table><tr><td> <a href="/bbs/?pid=85141#p"> <img src="/bbs/thumbs/pico8_jateyezoto-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=85141#p"> jateyezoto</a><br><br> by <a href="/bbs/?uid=39473"> Amac</a> <br><br><br> <a href="/bbs/?pid=85141#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=40700 https://www.lexaloffle.com/bbs/?tid=40700 Tue, 08 Dec 2020 04:13:18 UTC Piano Major Scales <p> <table><tr><td> <a href="/bbs/?pid=84512#p"> <img src="/bbs/thumbs/pico8_nahutotike-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=84512#p"> nahutotike</a><br><br> by <a href="/bbs/?uid=39473"> Amac</a> <br><br><br> <a href="/bbs/?pid=84512#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=40504 https://www.lexaloffle.com/bbs/?tid=40504 Fri, 20 Nov 2020 02:29:16 UTC 2D_Platform_Physics_Engine <p> <table><tr><td> <a href="/bbs/?pid=79532#p"> <img src="/bbs/thumbs/pico8_jahogefeni-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79532#p"> jahogefeni</a><br><br> by <a href="/bbs/?uid=39473"> Amac</a> <br><br><br> <a href="/bbs/?pid=79532#p"> [Click to Play]</a> </td></tr></table> </p> <p>This cartridge is made by Alex McCulloch</p> https://www.lexaloffle.com/bbs/?tid=38893 https://www.lexaloffle.com/bbs/?tid=38893 Sat, 18 Jul 2020 00:36:59 UTC Balloon_Physics <p> <table><tr><td> <a href="/bbs/?pid=79529#p"> <img src="/bbs/thumbs/pico8_jipahefofu-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79529#p"> jipahefofu</a><br><br> by <a href="/bbs/?uid=39473"> Amac</a> <br><br><br> <a href="/bbs/?pid=79529#p"> [Click to Play]</a> </td></tr></table> </p> <p>This cart is made by Alex McCulloch.</p> https://www.lexaloffle.com/bbs/?tid=38892 https://www.lexaloffle.com/bbs/?tid=38892 Sat, 18 Jul 2020 00:15:43 UTC Lua vs Python,C++, Java, &amp; C# <h1>Switching from Another programming to Lua</h1> <h2>Objective</h2> <p>If you are wanting to program in Pico-8 but are familiar in another programming language except for LUA. This reference will help you get started.</p> <h2>Further Updates</h2> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><br /> I plan on extending this post to include multiple languages. I know over 13 programming languages. Please like and suggest what language you would like to see next. I also plan on covering more of each<br /> language in detail later as well.<br /> </div></div></div></p> <h2>Suggestions</h2> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><br /> Please provide input if I make any mistakes such as the code does not compile or if you have a better tested solution.<br /> </div></div></div></p> <h1>Direct Comparison of Programming Languages.</h1> <h2>Class Declaration</h2> <h3>Notes:</h3> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><br /> To simply keep the instance variable &quot;a&quot; private for the table foo do not pass back the<br /> address back from the create_foo function. Without the address an external user can not change the<br /> value of &quot;pa&quot; (private &quot;a&quot;).<br /> </div></div></div></p> <h3>Lua Code</h3> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>--Lua function create_foo(a) --make the &quot;a&quot; a private global variable local self = {pa = a or 0} --considered a private method at the moment local _print = function(b) print(self.pa) end --changes print from a private function to a public method return {print=_print} end foo = create_foo(5) foo.print() --[[ --prints nill print(foo.pa) --]] </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p><em>output</em> =&gt; 5</p> <h3>Equivalent Python 3 Code</h3> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"></p> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>class Foo: def __init__(self, a=0): self.__a = a def print(self): print(self.__a) f = Foo(5) f.print()</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p></div></div></div></p> <h3>Equivalent C++ Code</h3> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"></p> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>/* rewrite includes without spaces before you compile. */ #include &lt; stdio.h &gt; #include &lt; iostream &gt; using namespace std; class Foo{ private: int a; public: Foo(int a){ this-&gt;a = a; } void print(); }; void Foo::print(){ cout &lt;&lt; this-&gt;a &lt;&lt; endl; } int main() { Foo f(5); f.print(); return 0; } </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p></div></div></div></p> <h3>Equivalent Java Code</h3> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"></p> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>//Java public class Main { public static void main(String[] args) { Foo f = new Foo(5); f.print(); } } class Foo{ private int a; public Foo(int a){ this.a = a; } public void print(){ System.out.println(this.a); } } </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p></div></div></div></p> <h3>Equivalent C# Code</h3> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"></p> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>//C# using System; public class Program { public static void Main() { Foo f = new Foo(5); f.print(); } } public class Foo { int a = 0; public Foo(int a) { this.a = a; } public void print() { System.Console.Write(this.a); } }</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p><em>output</em> =&gt; 5</p> <p></div></div></div></p> <h2>Inheritance</h2> <h3>Notes:</h3> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><br /> To take advantage of Inheritance In Lua keep in mind that Tables in Lua are Mutable by default.<br /> Simply just add the FOO table to the Bar Table and return it to inherit all the methods or functions from<br /> FOO.<br /> </div></div></div></p> <h3>Lua Code</h3> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>--lua function create_foo(a) local self = {pa = a or 0} local _print = function(b) print(self.pa) end return {print=_print} end function create_bar(o,b) local self = {pb = b or 0} --BAR inherits values from FOO local temp = o --add additional functions over inherited functions temp.get_b = function() return self.pb end temp.set_b = function(c) self.pb = c end return temp end bar = create_bar(create_foo(5),10) bar.print() print(bar.get_b()) --[[ --prints nil print(bar.pb) --]] </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p><em>output</em> =&gt; 5<br /> 10</p> <h3>Equivalent Python 3 Code</h3> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"></p> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>class Foo: def __init__(self, a=0): self.__a = a def print(self): print(self.__a) class Bar(Foo): def __init__(self, a=0, b=0): super().__init__(a) self.b = b bar = Bar(5,10) bar.print() print(bar.b)</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p></div></div></div></p> <h3>Equivalent C++ Code</h3> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"></p> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>/* rewrite includes without spaces before you compile. */ #include &lt; stdio.h &gt; #include &lt; iostream &gt; using namespace std; class Foo{ private: int a; public: Foo(int a){ this-&gt;a = a; } void print(); }; void Foo::print(){ cout &lt;&lt; this-&gt;a &lt;&lt; endl; } class Bar : public Foo { private: int b; public: Bar(int a, int b) : Foo(a) { this-&gt;b = b; } int get_b() {return b;} void set_b(int value) {this-&gt;b = value;} }; int main() { Bar b(5,10); b.print(); cout &lt;&lt; b.get_b() &lt;&lt; endl; return 0; } </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p></div></div></div></p> <h3>Equivalent Java Code</h3> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"></p> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>//Java public class Main { public static void main(String[] args) { Bar b = new Bar(5,10); b.print(); System.out.println(Integer.toString(b.get_b())); } } class Foo{ private int a; public Foo(int a){ this.a = a; } public void print(){ System.out.println(this.a); } } class Bar extends Foo{ private int b; public Bar(int a, int b){ super(a); this.b = b; } public void set_b(int value){ this.b = value; } public int get_b(){ return this.b; } } </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p></div></div></div></p> <h3>Equivalent C# Code</h3> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"></p> <div> <div style="max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>//c# using System; public class Program { public static void Main() { Bar b = new Bar(5,10); b.print(); System.Console.Write(b.B); } } public class Foo { int a = 0; public Foo(int a) { this.a = a; } public void print() { System.Console.WriteLine(this.a); } } public class Bar : Foo { int b; public Bar(int a, int b) : base(a) { this.b = b; } public int B { get{return b;} set{b = value;} } }</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p><em>output</em> =&gt; 5<br /> 10<br /> </div></div></div></p> https://www.lexaloffle.com/bbs/?tid=36248 https://www.lexaloffle.com/bbs/?tid=36248 Tue, 31 Mar 2020 06:32:50 UTC flappy_zombie <p> <table><tr><td> <a href="/bbs/?pid=70952#p"> <img src="/bbs/thumbs/pico8_flappy_zombie-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=70952#p"> flappy_zombie</a><br><br> by <a href="/bbs/?uid=39473"> Amac</a> <br><br><br> <a href="/bbs/?pid=70952#p"> [Click to Play]</a> </td></tr></table> </p> <p>Made this game for fun to learn Lua Programming Language.</p> <p>My first game in Pico-8. My first game in Lua. One day challenge fun!</p> <p>Made this in about 4 and half hours of my time. Although I am a seasonal programmer and also a Game Development Instructor in which my job requires me to make new Video Games on a daily basis. On average I have to make 3 mini-games a week. During summer up to 5 a week. It took me 10+ years to get to this point so please do not feel discouraged I used to suck at programming at one time. </p> <p>I am used to huge languages like C++ and also C#/Java.<br /> Analysis of Lua is that its a descent small language that can be learned entirely by a seasonal professional like me between 30-60 minutes. Its pretty amazing how awesome this language is how awesome Pico-8 is. I am impressed. C# takes about 5 years to master. C++ almost 9 years. This was not an easy task compared to Lua. It took me longer to learn Scratch (drag and drop programming is not quite there yet).</p> https://www.lexaloffle.com/bbs/?tid=36242 https://www.lexaloffle.com/bbs/?tid=36242 Fri, 13 Dec 2019 02:01:46 UTC