Jump to content

Volter9

Members
  • Posts

    24
  • Joined

  • Last visited

  • Days Won

    1

Volter9 last won the day on May 2 2017

Volter9 had the most liked content!

Profile Information

  • Gender
    Male
  • Location
    US, 0xCA
  • Interests
    HTML, CSS, PhoneGap, Usability, PHP, JavaScript, Daft Punk

Contact Methods

  • Skype
    Volter_9

Volter9's Achievements

Newbie

Newbie (1/5)

10

Reputation

  1. Hello guys! I created simple HTML5 Canvas Game Engine and want to share with my creation. There's a link to the project (on github): https://github.com/Volter9/RacoonJS And demo: http://volter9.github.io/RacoonJS/demos/Asteroids/index.html Thank you for attention. P.S.: I hope I not violating any rules. P.S.S.: To admins/moderators: did I choosed right section to post in?
  2. May be you could add in list "Game Engine", for example for Canvas 2d.
  3. Me too, I'm prefer TextWrangler + Courier font.
  4. Volter9

    Word Filler

    Kids, don't use text-align:justify; to make string in whole width
  5. Volter9

    Word Filler

    Dude, it's easy. But I think, wisely be if you would use tables. Here's code: <? // PHP Code function ($before,$after) { $name = $before; $price = $after; $totalLength = 200; // Total length of string $dotsLength = $totalLength - strlen($name) - strlen($price); // Amount of dots $dots = str_repeat(".",$dotsLength); $result = $name.$dots.$price; return $result; } ?>
  6. Do you have here humor or offtopic section?

  7. +1 Jessica, never store code in data bases, and never (sometimes yes, but only at home!) don't use eval()s in code! But it was only a option, just option. It's one way of storing code, but bad way
  8. Hello guys! I'm newbie too (Not in PHP, at forum )! hell_yeah, what language are you speak? (I'm isn't native speaker too )
  9. Volter9

    Layout

    Ok, I fix it... Enjoy
  10. If you want just to insert the same piece of code, there's a different solutions: Includes from another file *.php (recommended, most easiest) Selection from Data Base: MySQL or others (most hardest way) Storage Classes. Note: OOP required (you're creating class and storing inside of class piece of code)
  11. Exactly) I just like shortcuts for some words like jQuery.
  12. Volter9

    Layout

    Ok, how many rows in products table... Simpler question: what did you get in $productCount variable? P.S.: OK, but if you promise that you will change password. OK?
  13. You can sort them array in for/while loop: $someArray = array(); $newArray = array() for ($i = 0; $i < count($someArray)-1; $i++) { $index = abs($i - count($someArray)); $newArray[$index] =$someArray[$i]; } It's also called reserved array.
  14. Volter9

    Layout

    How many rows you have in data base?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.