* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: HP Prime wave, sky and flying walrus animation  (Read 2632 times)

0 Members and 1 Guest are viewing this topic.

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18878
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
HP Prime wave, sky and flying walrus animation
« on: May 07, 2015, 03:53:27 am »


This background could be used in a future game, and yes it would involve :walrii: . It runs at 40 FPS approximately. Perhaps catching them if I figure out how to use the mouse command. Otherwise this could just be an animation. Here is the code by the way, but it's not commented:

Code: [Select]
anim1, anim2, anim3, clouds;
wave, waveDir, waveChg, spriteFrame;

EXPORT WalriiCatch()
BEGIN
RECT_P(#000000);
DIMGROB_P(G1,320,240,#000000);
DIMGROB_P(G2,320,240,#00FF00);
anim1 := 0;
anim2 := 0;
wave := 0;
waveDir :=.05;
waveChg :=0;
clouds := 0;
spriteFrame := 0;

WHILE 1 DO

RECT_P(G2,#00FF00);
FOR anim1 FROM 0 TO 31 DO
A := 296*RANDOM;
B := 215*RANDOM;
BLIT_P(G2,A,B,A+24,B+25,"sprites",spriteFrame,0,spriteFrame+24,25,#00FF00);
END;
spriteFrame := spriteFrame + 24;
IF spriteFrame > 24 THEN
spriteFrame := 0;
END;

clouds := clouds+.2;
IF clouds = 320 THEN
clouds := 0;
END;
BLIT_P(G1,-clouds,0,320-clouds,159,"background",0,0,320,159);
BLIT_P(G1,320-clouds,0,640-clouds,159,"background",0,0,320,159);

FOR anim1 FROM 0 TO 54 STEP 2 DO
BLIT_P(G1,0-wave,anim1+185,320-wave,anim1+187,"background",0,187+anim1,320,189+anim1);
waveChg := waveChg + waveDir;
IF waveChg>.35 OR waveChg<-.35 THEN
waveDir := -waveDir;
END;
wave := wave + waveChg;
END;

BLIT_P(G1,0,159,320,187,"background",0,159,320,187,#00FF00);
BLIT_P(G1,G2,#00FF00);
BLIT_P(G0,5,0,315,240,G1,5,0,315,240);
WAIT(.25);
END;



END;

ICON sprites 89504E470D0A1A0A0000000D4948445200000030000000190803000000407F5D4B0000004B504C544500FF00030303FF00FFEEF0F1F0F0F0F8F8F8E8E8E8EDEFF1E3E3E3DCDEE13193E83191DF0357FF0453F02986D7FF00002E8FE3044FE3044CDB0449D2D6D9DACACACADFDFDFD7D7D7C3C3C510623ECE0000001974524E53000000000000000000000000000000000000000000000000004F4F953F0000012C49444154780185940D7382300C8679D39631A643DD44FFFF2F5D92A61F4498DC79429E3C4D3F721DFE7D00BC01449B708801C38E5401A5444DE3704A2342F0460389880DD3307E0013A694E2D6E881A452D6067C62FEE2C9F26861332D0FA854C07C3AE37B6610B174860392AE6B002E1C3F9F188C583AC3019E8E56909CEB0D578E4FFCDE040F44D019491257FCC1AFBC36C3011EDE56B0581EF27F113CB0150FB86BC0927BC1813C1FD9ECD590C5C98C23801831A6473F90090E94DA12D77DAE4229ED4015B8B2136C710E54E101AC696AF1BADD1E144116B6EA9E37410FD40333382EBF1CB603D29679017A241C7FF240F732881A56E10514834FF459ABE626CB6DEF8175263655E5A3B6BD07791528FDD2197400D4409E995C10B93F6177C511E8AF18B88F7DB0FFFC0171341B9670C8CCD90000000049454E44AE426082;

ICON background 89504E470D0A1A0A0000000D4948445200000140000000F208030000000B3BEC52000001A7504C54450038FF6070A8384888606060787878585858E8E8E8FFFFFFA0A0A0384880102058484848D8D8D8304880D0D0D0F0F0F0B8B8B8909090E0E0E0102060404040383838C8C8C8B0B0B00040FF6070B01028603030308888888080805870A86078B0385088A8A8A86868680048FF5050501028583850806878B0C0C0C00050FF5878A86078A83050800058FF3858886080B01030600060FF1030586880B03858800068FF6080A82828281010104060881818183058802020209898986888B05880A87070703860880070FF1038606088B00078FF1038583860800080FF3060800088FF0090FF6088A83868886090B01040606890B01040580098FF6898B03868806090A85888A800A0FF00A8FF6098B030688038708810486000B0FF4070883870806098A810485800B8FF60A0B000C0FF38788810506008080800C8FF38788000D0FF5898A830708010505860A0A830788000D8FF58A0A860A8B038808800E0FF105860000000280000282800502828505028785028787828FFA05000E8FFFFC850A07850A07828C8A050A0A050FFFF50FFFF7800F0FF00FFFF00004800484800FF004890FF0000FFB135E8010000008D74524E53000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000A07D2B3500001B12494441547801EC950B7FD3587AC605243A4E50245B0D3603A1198F496A66D824F57AF06E3399250C93947A03CD8EA7B3C1D0D4C342CB7632B36DB7B6AEB52427EDB0E443F73D477759497C912C3BF8F981AD48D6B9FCCFF3BE0F3559BA72F5DACC2C8D104ACDCD8F6AC6B9AB57AF33686661614433C6A9AB2CB2C421348AFD5C59B89E66E90C0F33FED5227D7554A7169FE61D82F103BCB230B770C39D8FE15036959B7886F3F32CCFB2681E14F34C57AEA719CF71D918E9DC84130484F1C323F3D05DF4429D7F732A531FCDCDFB6FDC9A07865C9AF7B0E3B2FC7CE0575380581F5DBDBA706D6606B3B9EABD7F8BD87D3ECBB2F3B682AF4E01DEBC7965E136BB94C60D6E6E61E14ED088A0106E8EA6006FFEF5EC7C1A71668966B288A7E7E616E67B7E3B3A801FCD274D62305D59A2197F4AF03CBFD4F366220178056CBF9C42B76EDE5C481A47FFFA9809CFDA1E5F8F00E0F2C26C16CDE511A2E73EFE64E26C389709E5C7F50CB0309496E73E9EBB7BEB0ED81ECFCAB070728509D3FC3CAC3CED180FFF85D3B6D7D78703B89CBA93E53996F31C5DF656D244FAD60A069666E7D36906B8F5010F6B3880AB77C2BA47D2400612605BE90F9DA921002E2FACDE5D59612E07BF813530C0BF59BD3B93A37997DF4AB658E457565692DED1883510C0E5D5858FEFDEF57B6FA5B0F2E1D12B0C067039CFD379DA5FB8D9D407080F6B0080CB1914AA0F932075AF6FDD5A0AC5B772EF83D40000EF41AFE311623852BAF0899BDF078A6F3080F708432C485D6CBEA43791A4A8A1DE5E212893DE43A2A2925EC0EABD7B9FAEAEAE4EEC29240DF0B3D9FBABD7B20C8FFBC0F2ADA4690CA064012EDFCF2166A54852FCE3FB9949ECA6D42F12D2F2EAEADA6A86017490E8F893C7DF2B492D6760250570FDFAB5228BF105747F75C2182604F0D30CC7A13071FC84B9302180B7D0D99A02EC451B2B2B2B7C083C50D248FA536221F20B132296050E7F268DA37F2509D0D62D13DC24E24B0EE0FDA4371E95A8BF1DBD3E5BBD7F7F69258189E35002003FBB9359CA41C34B7AEBD168F4003F4BDB899BF4DE23D1E80196D014E0702AAD984A7AEBD1288910194ABF2C97A21C6D6D63C8112608E03A26F7CBD954BE5CDE8862BC320C39C3A0B5B5A18E84FA7C42F4A05CC9AD95CB10DF88CEA3D2E76BC30EB83EBBB6F62B1A2176360DC3FD7AD061E200B87EBF5C2E97221D71EDFEDFE568C4E7783B81CA196782F5B541E65A2F157986B346DB28673637071A266A80EB00EE4186CF65B22842849FCE6619DA46678A47EC8635E54C8EE97FAAF52FD29ED118063174110DB2E20801AE9737CB29B4B5B6689E2BB3B456869A8BC08B0FB2284CD6B825F7B20F95F933074C046019F865181E56C53975C1317C367F27CBA061096EE44301B2D6B81BA50126282D0587DB282D9537378605F865B9FF21D637CBE5993530DF99DA1C12610904C75272AA8EFC35DCA0809D68C31E9366392E5FEC7BA93E80BF29DF48A3CDCDFE20AE3FC40D8A0F290947343B7C29C35E3FB7F66C5E7D1E8DCA5BFEA5A6B7CB6BFD18D103F037E559DC6C52A97CAA1F821BE973D0B95D9A61721B11ED394AADDFC8F8E389A3732C8F7A5F2AF5C8D666C6DB4F1FF5AE52A90782FD0E3A2A95EC8E3DE852A950107D6EB594ED815E691CF87DD9B588F0E31F08E0A3475F9578BCD1FEB78ADF61C7C97DEBE1F3ADDFCEAF95838F36CC88428464A9DFB3A68224065E33219F0EBACED688F9DDD8EA9AF171797BFB368B783A17B218C8E212D9C1A37ED74A45BB72BB204C2B8F149A97D4228350C069EBB7D32C7376396C0CBAD888015A462C41371805AB2E3DD878F478914DE160A531A707DB781D8FCBE572A9E85646B1BCB9F9554433460E3039AD6F97371FA6376FF336A76CB95CC9A4D7D6CA0F5986E13DAD852E3DDC42E5CDEDEDF2F0C74C7D7D49F478F3574B992C428C0714CF8015B94CB12BD270E04133CCB1A8F47519DE2D0D3EEF6501F83885610DA0EDBBDBE5D44CE98307581A881E3622CAE520563E78805F7F05D1154A08DF3ED79C38F4BE9E02C42AD12170E036880DE566FD60185D2A80D886BCE9B99229FBC176C99BC2F0D82CDA61E97D3D4A800F76BA6E3DDEDCDE897A9A1DD373DE5976B737B798802D8727676944001F6F6F673241588F532C83BE8A7BE65FA7D87CA0808BA5E8CE8DFAFBB8F5787B777B7786A51187367777B74BCE835DB3AA4AF1CE9E6142728345DB3B114D1037C007BB7996CF5ACD9D01A15D67E93B59B817D546C2B5BD7466F84634718C00C17ABBBB99AE60E4334F769F6C138C3BA058F99129EEC4C92F46805F7E916399B0FAE1783A9D4A67BE8A199DA31D531E76511E5C6C001FE73974AED8B8CD17D00EEE1891B2238A0BE076F67C7CB177BF10C5D23062732039F0B1E2178FA87F884D3B3BE933D011C537F1481523408C90286763B3E025BDE748152B404B8EE32E1B3CAC5100BCD49A021C525380436A0A70484D010E29AA3AD5807A423E29EB7BAA7EF5DBD9BDDD1D00F8DBCC4ED24B99383D05644F6F675906EDEE500C42BBCF925ED164E91F9710986F1181766628F8E4D19327BB4FA6147BD4D32D40C6321C06C8230C102186A7D3B96929F7A0A74FF6F2C82BCA733DF5E085DA5B2AD2E84C80530B5EAC7D3F3E0720B703FADD5417EB1980F29A90DA3195F4BA264A3B3B884083A2DDA1925E4CD4FA667F14B39886DB872F0FC0BDA4F71E859EDE656A7B7BB567239BD005F86DFA49AD3692E38B4F4F6B8B3C6218BEC8EFEDED8D662F0EC07FCA213E9DE646777451EB69AD565B4A71566FA78BFCC3DADE080C61037C9AB6669E4C0F7EB3B7B7B8C5F29E744488E379EEE1FEEF62DE10F59DA9677634EF7F3781DA4BA5F751B8F6D978776403FCEED9BEA9A4590C2658F77E2842B81FEFCC54D25B8F507BFBFB390FBAD1F8E13201ACDD76F98DAC942E11C01AE3AFDDD1E81201FCEED97E760A70384112F2A36A7E962E17C0EF481E8F54D4EF07D5416D6FFFF7530D02F0E0F9F35AADF60993CED66ACF3F7488FD03FCB63E9BE57986441E5DCC71CF6B1F34C3BE011E7C91433E7159EEF9F3672358EA417D6F0C9B46BF006B7778D425B815E1CE0E6AF5AED1A0E13EBF91E6E9D4D811ECDB81FB284C91EDEBDB5AED6E161503080FEEA68B2C4D661A85D7FB51FF3D701F2B6F71B315D572BE9D7DB8C8E2E69A7386FCA60E8E2CBA67F5027E35463EA45E0E248BDBCB287550AFD76E3088B338FD73FD79BDBEFFF26031954EB35EB3D76A0F53F8412DDAE9071495F402B00E0EC16587299E4ED36E5FCD1621E953F554B05B145968B97CAEBE98CE8F03C17100F82F957C8EE199B0DECAF1A12DD70C2EB4858D78F8E28307B8CF9C45E90201DE3A8BD2891A711C00BE6C403B1D9061E49D78220162BDD80AB3D8FE3E8BF6D3E7E04B7AD9E303F065A3D1C8595CE0B2D1A0F107BEFDF2B011EC840D4B034DF44DBD11E1B2C707E04BC2D0E5627ED65FD6EB1926486FE0190E5EBC3CC8A04CBD1E1944EAFB71D6C1E1B5FAA2BF82732F1A8DC1879BD9AADFC167B095E60E0F1B512C71AC01BEBA914634E7AF5E9AA7D3F541B67E7058BFDB6050960C02FF196CC4E1218E33C03A131E1D1CCFF6BFEF836B3986A3FD6751CC71A961098E33C0EF1B67C66FDFDB3ECC46355240630DF07BE87721101B8374C14628C1C6A52E616BE7587997DDA07BB623DE24695D0FBFBCF107E8DB7D646345B632EA0F53397A75583F7C7DD8E8EB9D294057AF52B39F147906D55F1FBEAEF78A710AD0D6C1E10B86333BEDB54FB23C3AECCD8A5380965EA558DECE6672C133CCE19B8BDF9B0234F5EA5F69D425065D6CC22940532F42F881A6007B5683F181231F8D1EBAE014A0AD37C0ABC19A0DB0F187464FF440D4BF4DE5D10B0CAED1E8E38D29C021350538A4A60087D414E0909A021C52C9037CF5B691F4128611F5C724F5EF6F5FFF90E299B74789AE62282509F0C71FF2D96C1621C4703F4C2CC20401BEBECE2147ECA4124CD2814747199BDFD1A4F28B1DE08F3FBD39E7E91156F16872F1C50EF0C74A9179FBFAF5B9802698DE1FE305F8EAEDDB372984D2B37934D990CE538C007F4C310C831B1C64C5D1EBD73FBDBE9414A93FC5A5FFB8EB662C625986CECD1EC53659728A0DE0AB3CEAD69BA4B71BBD6203F886EFC277F4E6E8F2118CAF848F407E800C8F967EBA6C08E303888521BEC97A18D23C7A7BF4A7FFBC4418E30588F5D3D12CE7F5218FFE6B8B672E4D9EC40EF0C722CD057A218DFB61D21B8F4AD49F63D6D152481A03C0B8E71D956207F867DC078F8E183FBE4BC36F04004DFD37C106C54C7026BDEB08352A80D888D6C7E5D2C8005E564D010EA98400361DB584A4110CA704000A82D0129B8220355B92282B2A504C9AC210A2FE67B402CBB5354D56645190B12449940453235E49441A2D406C3E5D124449D234A3A3B6DBED63F8DF568D8ED66E4F26C611028452C5B430B4130D433354556DC37F0089FFB78FF1E5A4211C1D40A1D9149AB20A963B56D4B64E9069152864A922888A2C0BA228885AC730260BE18800426D82BF3A6D0D6C288942A52548B2D8921549930D55530CD5383134F544D57515FE6E4E50358F04A02080DF48B78362D5258354AC0A65ACAAB2043922484253AA342B12A8D9142B72079EAAED5633693A3D287E8042AB05A034CDE40752045CCB4AA5D96A09225CEB9AAE4130EBB250A9889A5C1105A8E64A45027F4E800BA9FF8D57CDA6A6E85253D474A84E13A0016604432A4205386A82A040208B4D51025EF029C850C56DA5891F027621E6F50DAD980142CB13846645162121708AB49A2D2023C80AD4AFA6AA86A6C8189C280265B9A3CB8A8223059C5751AC9A37DBA130B620E305D89420640541122B800E080A50B64011AE20775B4D5D85D0C5BE34141094B1843F0122B0D6809F4A5A27C9EB76B39934AAD1036C365BE040F8A848D0E03041E87A005114251DDA9EE1040B54F409648AF5177C69604A49027BE2E6A96B2D486E089996EDC671B2644C00F10E81186C1A2C55699142C6E5DC24461465A30DC8B0BF8E0196ACE8B2694C5CDD1AE42FDC3554C8150300424AE3262A55244505371A2A00C64D744C10460B10A061568270DC3ED1948EEAF8EA4495A4CE09DE77BBDD91706E1838973BF0A7A62B8A0E7825D2FE2A66D724ED127F4B9ADAD14409121AFA24B025F57C424A1BAA7A0CEA3A4A80424B55C4A660804B541DF0A8A48B7534493F39D14403933C86AD1BC00432B903E4B0C500A50E4DAFA27464F02246A44ACD66A5829D2A0A15A00A2D5492605C78D1AE72035AA4261357876984151E1540BCEC1345EFE09A6B3671894279AA7AC7809DC3F66543D5757824EB9A24619B42D2E212170419DF03E640C76A884019B744A3A35700A9263565A902610DBF03B6A689717E6BAA068C5B2D627ADC1FA1DBE2CE2941CD83C1F17D6823B183A4FE2F1A8990B5383C21772B560DC23F19BC241B18237EA6E0862742F4020B885AD828A6481C23768E31379220C70EC9B6933210D4B2DCD1A1411A6D15FEE168691F43E58B227E1F7C4AC66909B2AAE0890548F9A6042FE82470707B8D68A34145021096AE890459985AF6850E1B72F062A2F8AA02CD0DB243521C0762684647C126C68DC0A208D60341C94313502D2932B12E18F8F8D810E0EC70CC905394702041E4CB24E3753C1821399E00310E528E3845ED10F03624872D38033B5514212E001BE06B392CA1FA6493A1DA86E204AE048344F20257ADDD54C9156E9ED04435B887D1DA9071E3C0558E5BAD02E12D2BE045BD7DD236DFD2A267383C4028107CE4A26C18A48671C48A2E3ED1C5695D995D4B10658F3DC95705C202A018EDE313A875C217536E355B156C551932873447C0A7819765A5A343D213B410E6D0F7C08D60350DDC0C252E49F0376E0812F44EB8A129324E2F83CC372E00B1E9D48E61549A12A4838C772548508B272A4948387FBF1789D720577D15EEB8D3BC2018D51383A0C3F7CD942094495D9274205D0E120660753071438104D7143037A95E41D20D68801A1C26297C6CDDE336F08520337F330E0005E1D8ECFAC76D70937472829D70D2965A70D490178AA199BCC8D62559849DCB272AEC53C70EAD4838395B92A2000919B6248A2D5CB78A717C82FB9CAE1B0A210A6F8AE036C8F3A602C5EDE90B90CC90D0E0E50EAE718504B04220C23BCD8A82CBDCB0A2C9AFE3E3A88AF91C803F7BF5EEDDCF7D096AB782CD08CB572A0AECC0D0A102554381B665068226E37D4220E3BD43C4C233A84A4000E5A9C38F61F78A441C498040B793450809AFA90102745E600E4F8C8EAEABD044E00640849144381B9C4D40D08975FF1ADF914DBD33E5D9A7E78E7D853F2F061880F49761E45FAAD5E4A1216940C2BC563B9596288915689E3813E0994C4A158253912156CDE82010455D1725A3AD4195923030F40A71267121CE703030B85702C91ABC81934AD115597817E596DEF9E40074ECF5EEDD5F62D3CF0929BE1D3938A9F7E1AA82AC2F7261DFC32A144ECF51C115F9EBF47C15CCF1CCDF17C246C33FB004978129AC49AAD613FF0ACC85579D779D89CC55E1B7C8AE3C8BAC7A015863DA03858A72F99CA9AA7754EFC2CF6658B5567E7AA19C91C207B5376F2DB3A72183EF9F3AE4CF5D05FED57B9B66C1760B99F41C8E94E7C0DCED9B6BC6C09C81AA5E781710B401DA2FF460C4F3B777A1ED8796337AD7D9FB76EB9CA785AF704A057EE7D8BBE023E625E8FCB8BB96DC05D87354FD835E68DE338FC45D482C28C3CDEF811A9CD66E2894BBBC20C7AEED128F9B4CAA6E47AC065BA76DDDF73E17BADB37FF7B65FDCEFCED7908ADB96276635FA2BC555A704D675F98773C7B70399B48BD86F692749CEE09096B0EF731693A814370ADEB39506735BE29928687BD4959CDD9B58BAFDF5D98BBC4149E8611689636BD6AA8DC39C24FC0E947EE5282F136404318AC8904C670AEA8538F557C75580D1E72A18F150697EB6FA55E80A79ED2BC481E849EABB37014CEC46757D16904A2CC314D80D5408E14C299F47F5EB67D7C7DD3B676C1E158F054436F3C9D53E96B79CE8421ABEC2DE8DC9F50DE3BD56084BB8F4232A59FE57A6BD00158386BE7FE93B357D69D57C18C22C7D10B3CD3349E26D3B5DCAAAF9978119BB390E7050F40CFD05D41E71E33369119C15EE06E9F3C936FC16914BEFE6517726FE7601BCEDF020B61271D7A26057F3BB14FC103C85E52D5F985E7D09DF8B47F41EE5181D97DA47D79E01AC1D7FBBD6DC9D3F2C3F87B01FAC3A64F437BDE356FF936115CB5C3C3D7403C36B6D75EB53B8943D779DD3DBFC0C60A5457795A3379375A0857685B0A7A24B06A5F829CC6209F870ABEB5DB4FDFFBDB4157B85783AB76070C4E56AD52EF6DAB5D947E66E97AC70931D6D90378CFFBBD37857D653670B3757F6EB9C53ECFAA7FBAB30ADC3E77CB8AA76787B4FFFD2A053FF6B5CC3301DA149D864716EA2B7CCF856B441F5FCFD9FAA2DEBBAD82D5E0BD63B98558B898A0BF37BBD9D5EBA114FAE8CAE0C09E55F5C5614803F7CCED7F163040C16AC8016A819539767167F5F5169F9B3CE62A78E9F9565EF5474604822ED6074053053FAD807302EA72FE05B51928E22EAA210DCBB57620ACBABB78F09CC297D02742EAD4A9106BBEF3FC47A6FFFFD6AA2CD1711884F92E1C87A325879ED77A41C210DBE9E4A76DEA058496C7FE09C8282C02741A733ADF2CF5D4AF2294BE88660EAC3D4AAFFFCBB9E9290E014C7B852A2EEFF81EBA49BB6D6F979AF6AFCAED796B54FA59AD8206C4138051D8D4E004C1FD771E0D0B5220371C80644FB60B5EE28CF5440183D8EAFCAB99D286ED4271F3C020B5F875B6EBE5C34EDF8FEF00BA72C9A07B79EAFDE46480283280F0C1D008EF1409595EDC76FF0F0CB9A11EA19FEF45C87113A58A11C9968DA1D078A276C9641FF93603B9E963B21A6235CD7EF06FF4ECCDFC19C455BA49A0A43481518841AD0C059D75A3533AC15C0AE94BF6C0D8D5805094CAF7C81537C29AED424DA655D5B0A5792449DD5F7C2B766886A1EBB535DBB70C48AF2BA926AA13B3D5BC57A6B9FFBD5D3539FB79D0019A55D2B884E1653EDBFA2B74F4A42949183C791A7D8D1D7EE759EBAA598E5A2F133590E44F078184663B69A46A5AA5C7567D001C94C96C292E82B8ACC6BE5A7FE285296AF7E9437001F59123DBC706CC31629A9B0094B0B498A746189AAAE2AB97EDDD3F3D6FF6875C3CC3D014AE662706E404A0912DE2B22691B268A16E3377BE5F43F123847B47D48A630279D0889125625DA4E5D3462C4E8CDD6AE1A54B5C4774D7633602323B02A46E5A0B0E8C4200B10B5DAEC4EE896750FBB2DF43237E2BBD55E3AAF8A4D4F736882BB2B75A0184E6FDFA91D4A860A2491844E26D000A8AFBB24E1B793C853798A0C330469E64553BB6C3BEBA05AD6794F2CE1092780ECB8BB0CA202C4AB30765B17D3029D5DB0B0472F760CA2D71BCDE7A2C0B3B72EDA66714FB3FE73936FA8FC9168CFC0FC05C82C1E96177577E9D76D909E859B2404B84D3EF2354E82C1BAB22DCC9732879811AA8B0EF37297BC75869499790E0AC4A088BBC7A63BDE9DF70D10C028B06BB9CCDC70BD7E6776C033CB1916A65B18792CBDB81733022E805B69A00E7A1709E3121E756BABD013F61010BE92D3D8305E509EF712191097D0FCDAE63EBAD721CB998AD43A0FB5CD0D82B4522823DDD3BE19B258DD71B67F72545D23F6B70A00D3944E666B87B9CC3417F3D23E0CB7486904425E4467436D6ACD133E797F813400B0A0CF4AAB033CD69DECDFC6CCFE8F14B6E373492625B2248A1B504A74933764A015823B09E4FE08FF905121E2B206F43216D83F7C3FEFB6168D63FA40EF9262CBC2DA11210BD03996DB1D3777DFD2DFD1C5E92AA71A36EDAC21122F27FCE09034D6381FA778E85EDDBB5F3680F49292472616F514A5D1AADFC0E611ECFC7C310C21051D0EC01AC71A220BF2D30F5C3C00A5455BBB5D6490D239DD9FFB26DE5DA3FF31C4A5FA28A7F8B2181D3BE7200EDCA6B90B2B682096003A259E190DA058560865B287A3D037F43F17B1E70A5DB57C77054126697781A472A1E96868DF91DED57FD770EFA746E8A832981BCE79AA00F2F9F76F2268A4328B33C0028E8D22DF12138C4362DD62921667DBBCC79E4028E50E19812E97A8036CF6F90C2509CB05D0958F8824E05674911AFA4D273C7A05A8DC3D2BE721DA8856122CF654F2F2A03CDF7220BB11169E8F9F49F044298178B2998E68496A81C8E23CECE1E71F128E6F29E75FDBF3D1DA1E04A06C8E4790112F823F49150C0320B38B07AA6C72B00AF8782C698C2315B634B3595D502A1E6E97E26CF2A3D71DC8E82018A983323D64E61D465A2DF19ED041CE069F7FD08600A04B8133A657657F0FA43C290869DCCF063644567BEB9DC1256DD93650AA2E555B23301D0F36D32F6B06CDD37913B69DD79075172F055876FF1C224BD77CBEAD20DBACE095D3ABC115903C7D55F25B3C491CD70FCA6FFB056F13FB0FCB1F5114432737FA6E5AB4FB9EF53B0EC0F02375277CA670D29830C3904B0D6181E4B0C9C2819D9C2939DD5E1E72EF308308FF0FBD1312DF8FAFBE611AE04BF840FA74C8C70F41E41CFC6B9F33D5BF54D37CC43AEA429ADACD38073BA9D2C73D913160891D71507D98CE4C317BBB0CD8B0FF09FCDD8B55F5E03470A46CB3862485433E7C83869B4C2C0BEB8E0799BC40F881801F807A3C56BC7FB536FF80000000049454E44AE426082;


  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Snektron

  • Lvl 69 Russian Snake
  • Super User
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: HP Prime wave, sky and flying walrus animation
« Reply #1 on: May 07, 2015, 07:42:40 am »
whoa that looks cool :). But i guess at 40 FPS theres more animation? (now it just looks like random Walrii's)
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline CKH4

  • Extravagant Sushi
  • Super User
  • Join Date: Jan 2015
  • Location:
  • Posts: 872
  • Post Rating Ratio: +3/-2
  • Gender: Male
Re: HP Prime wave, sky and flying walrus animation
« Reply #2 on: May 07, 2015, 12:08:28 pm »
I could probably port this to HTML with cumreds walriihack. It seems like it would be interesting. Good luck with this.
  • Calculators owned: TI-83+, TI-84+


Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18878
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: HP Prime wave, sky and flying walrus animation
« Reply #3 on: May 07, 2015, 03:52:31 pm »
whoa that looks cool :). But i guess at 40 FPS theres more animation? (now it just looks like random Walrii's)
It's still random at 40 FPS. I just lowered the GIF frame rate so that it fits on img.ourl.ca. I didn't implement flying yet (although the wings already flap)
I could probably port this to HTML with cumreds walriihack. It seems like it would be interesting. Good luck with this.
Yup. My idea is to click the walriis to score points, but eventually I wanted my game so that you must click the right colored walrus depending of what color is shown at the to of the screen. This is why I removed shading/relief from the Walrii sprites, so that it's easier to replace the color (by making the walrii body transparent and drawing him over a color background, then redrawing it elsewhere with the background being transparent instead. Differently-colored walruses will most likely be pre-rendered, though, for speed reasons.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2611
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
  • Gender: Male
Re: HP Prime wave, sky and flying walrus animation
« Reply #4 on: May 08, 2015, 03:48:15 am »
Perhaps catching them if I figure out how to use the mouse command.
I could help with that, after many tests I have become quite used to using it :)

Sorry for not seeing this I haven't been on for a couple of days because of school <_<
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18878
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: HP Prime wave, sky and flying walrus animation
« Reply #5 on: May 08, 2015, 04:07:22 am »
No problem :) and that would be cool. Hopefully I don't need to get help, though. I'll most likely do a pixel test to see if I am clicking on something else than #00FF00 (I use three buffers including the LCD). In the future I want to test drag and dropping, though.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2611
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
  • Gender: Male
Re: HP Prime wave, sky and flying walrus animation
« Reply #6 on: May 08, 2015, 04:15:48 am »
I'll most likely do a pixel test to see if I am clicking on something else than #00FF00d
Did not think of that be careful though GETPIX() returns an integer and not RGB values from my tests I don't know why but it does :-\

Would you keep the game at the speed of the gif?

Also I suggest that you have 10 :walrii:s and they have physics like my air hockey game but don't slow down, then you would have to get them before the time ran out.
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18878
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: HP Prime wave, sky and flying walrus animation
« Reply #7 on: May 08, 2015, 05:14:32 am »
Ah ok but then I assume I just need to figure out what 00FF00 translates to in base 10, right?

As for game speed it would obviously be slower with less walruses at a time. I probably will just have them flying in one or two directions, bounce around the screen (like when you type /walrii in WalrusIRC) or perhaps move randomly so that I can keep the game as smooth as possible.

An idea I had as well was to allow the player to grab walruses and move them into colored spots on the screen. That might be complicated to implement, though.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Online Unicorn

  • ??? ??? ??? ??? ???
  • Super User
  • CW Contest II - 2nd place
  • *
  • Join Date: Jan 2015
  • Location: ??? ??? ??? ??? ???
  • Posts: 2826
  • Post Rating Ratio: +5/-2
  • make :PICKACHUP: a thing!
    • Unicorn808
    • 114/11432
    • ??? ??? ??? ??? ???
  • Gender: Male
Re: HP Prime wave, sky and flying walrus animation
« Reply #8 on: May 08, 2015, 05:18:06 am »
But why would you want to catch walrii? Please explain.
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



??? ??? ??? ??? ???

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18878
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: HP Prime wave, sky and flying walrus animation
« Reply #9 on: May 08, 2015, 05:20:33 am »
It isn't intended to be anything bad against him lol. Besides, my original idea wouldn't even involve catching him. Just clicking him would make you score points. :P

inb4 someone calls the PETA <_<
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Online Unicorn

  • ??? ??? ??? ??? ???
  • Super User
  • CW Contest II - 2nd place
  • *
  • Join Date: Jan 2015
  • Location: ??? ??? ??? ??? ???
  • Posts: 2826
  • Post Rating Ratio: +5/-2
  • make :PICKACHUP: a thing!
    • Unicorn808
    • 114/11432
    • ??? ??? ??? ??? ???
  • Gender: Male
If you click the walrii it should give them fod or something. Else, someone might think you were slapping them.
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



??? ??? ??? ??? ???

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2611
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
  • Gender: Male
I have no idea what it turns it into :-\
« Last Edit: May 08, 2015, 07:23:00 pm by alexgt »
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Online Unicorn

  • ??? ??? ??? ??? ???
  • Super User
  • CW Contest II - 2nd place
  • *
  • Join Date: Jan 2015
  • Location: ??? ??? ??? ??? ???
  • Posts: 2826
  • Post Rating Ratio: +5/-2
  • make :PICKACHUP: a thing!
    • Unicorn808
    • 114/11432
    • ??? ??? ??? ??? ???
  • Gender: Male
Huh? Did you men to post that here?
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



??? ??? ??? ??? ???

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18878
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
If you click the walrii it should give them fod or something. Else, someone might think you were slapping them.
Honestly, if someone gets offended at such game, then maybe he takes CodeWalrus way too seriously. >.<  (or he's part of the PETA himself and was involved in the Racoon Mario controversy)

Besides, First Fantasy has a very rare enemy encounter with Walrii where it's possible to attack him (although it causes like 0-2 damage) and we have yet to receive a Cease and Desist letter. So yeah I don't think we should have issues with a Walrii catching game. :P
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Online Unicorn

  • ??? ??? ??? ??? ???
  • Super User
  • CW Contest II - 2nd place
  • *
  • Join Date: Jan 2015
  • Location: ??? ??? ??? ??? ???
  • Posts: 2826
  • Post Rating Ratio: +5/-2
  • make :PICKACHUP: a thing!
    • Unicorn808
    • 114/11432
    • ??? ??? ??? ??? ???
  • Gender: Male
I still think there will be an outbreak of kill the walrii games one day. It will be sad.
Anyways, you could he netting them to get them out of an evil dudes lair.
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



??? ??? ??? ??? ???

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games