Posts

Showing posts from January, 2019

Pong Game with HTML5 Canvas

Image
Here the simple code Pong Game with HTML5 Canvas <div style="text-align:center;"> <canvas id="myCanvas" width="600" height="400" style="border:1px solid #000000;"></canvas> </div> <script> var ky1=0,ky2=0,px=0,py=0,vx=0,vy=0,scorekiri=0,scorekanan=0; var c = document.getElementById("myCanvas"); var ctx = c.getContext("2d"); var lastMouse={x:0,y:0}; var pressedState=false; ky1=ky2=Math.round(0.5*c.height)-30; function drawGame(){ //draw background ctx.beginPath(); ctx.rect(0, 0,c.width,c.height); ctx.fillStyle = "black"; ctx.fill(); //draw middle line ctx.beginPath(); ctx.moveTo(Math.round(0.5*c.width),0); ctx.lineTo(Math.round(0.5*c.width),c.height); ctx.strokeStyle = "white"; ctx.lineWidth = 5; ctx.setLineDash([8,3]); ctx.stroke(); //draw kotak 1 ctx.beginPath(); ctx.rect(0,ky1,20,60); ctx.fillStyle = "white"; ctx.fill(); //draw...

The Wordpress Plugin of WhatsApp Floating Button

Image
Usually website communication need public feedback to see users enthusiasm of website's contents. One of the feedback, can be use WhatsApp floating button at right bottom of page, as screenshot image below. Uboiz WA Float Icon is simple Wordpress widget plugin to show floating WhatsApp button. Where the WhatApp number can be edited in widget form. This plugin tested on Wordpress 5.0.3 and place this plugin in your Wordpress plugin folder ( /wp-content/plugins/ ). Download Uboiz WA Float Icon Reference Castro, Kevin. 2019. Whatsapp-floating-button . https://codepen.io/demoonkevin/pen/MvPEpV . Accessed date 16 Jan 2019.

Simple Marquee Latest Post Wordpress Plugin

Image
Marquee is HTML element that used to insert a scrolling area of text horizontally or vertically. Uboiz-marquee-latest-post is a simple Wordpress plugin to show the latest post as horizontally marquee. Where the interface presented as Wordpress widget, the number of posts can be changed how many to displayed as marquee, up to 10 posts. And as Widget, its also can be placed in the sidebar as needed. Place this plugin in Wordpress plugin folder ( /wp-content/plugins/ ) and its tested at Wordpress 5.0.3. Download Uboiz Marquee Widget

Simple Wordpress Plugin to Show Page List

Image
Below is simple code that use wp_list_pages of Wordpress function as plugin. You can use shortcode [uboiz_list_page] in page, as like as screenshot below: This plugin tested in Wordpress 5.0.2, and you can download and place in plugin folder ( /wp-content/plugins/ ) in your Wordpress site. Download uboiz-page-list.zip